mach/gpu/src/command_buffer.zig
Stephen Gutekanst b0adf42c70 gpu: inline TODOs
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00

17 lines
544 B
Zig

const ChainedStruct = @import("types.zig").ChainedStruct;
pub const CommandBuffer = *opaque {
// TODO
// pub inline fn commandBufferSetLabel(command_buffer: gpu.CommandBuffer, label: [*:0]const u8) void {
// TODO
// pub inline fn commandBufferReference(command_buffer: gpu.CommandBuffer) void {
// TODO
// pub inline fn commandBufferRelease(command_buffer: gpu.CommandBuffer) void {
};
pub const CommandBufferDescriptor = extern struct {
next_in_chain: *const ChainedStruct,
label: ?[*:0]const u8 = null,
};