blob: 28c0c312ec5e6a630ef0ce570cd7578022585343 [file] [log] [blame]
// Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library fuchsia.sysmem;
/// Describes how the contents of buffers are represented.
/// Buffers of each type are described by their own tables.
@for_deprecated_c_bindings
type BufferFormat = struct {
/// Since this struct used to be a single member union, we kept the tag
/// to avoid any wire format changes. The tag must be set to `0`,
/// no other value is correct.
tag uint32 = 0;
image ImageFormat;
};