mach/gpu/src/render_bundle.zig
Stephen Gutekanst c0d782bd9c gpu: add RenderBundle.Descriptor
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00

13 lines
380 B
Zig

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