mach/gpu/src/command_buffer.zig
Stephen Gutekanst 97724b8779 gpu: add CommandBuffer.Descriptor
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00

13 lines
376 B
Zig

const ChainedStruct = @import("types.zig").ChainedStruct;
pub const CommandBuffer = enum(usize) {
_,
// TODO: verify there is a use case for nullable value of this type.
pub const none: CommandBuffer = @intToEnum(CommandBuffer, 0);
pub const Descriptor = struct {
next_in_chain: *const ChainedStruct,
label: ?[*:0]const u8 = null,
};
};