gpu: convert *opaque -> opaque for CommandBuffer
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
1714f43e1f
commit
e15cb4009a
4 changed files with 11 additions and 11 deletions
|
|
@ -1,16 +1,16 @@
|
|||
const ChainedStruct = @import("types.zig").ChainedStruct;
|
||||
const Impl = @import("interface.zig").Impl;
|
||||
|
||||
pub const CommandBuffer = *opaque {
|
||||
pub inline fn setLabel(command_buffer: CommandBuffer, label: [*:0]const u8) void {
|
||||
pub const CommandBuffer = opaque {
|
||||
pub inline fn setLabel(command_buffer: *CommandBuffer, label: [*:0]const u8) void {
|
||||
Impl.commandBufferSetLabel(command_buffer, label);
|
||||
}
|
||||
|
||||
pub inline fn reference(command_buffer: CommandBuffer) void {
|
||||
pub inline fn reference(command_buffer: *CommandBuffer) void {
|
||||
Impl.commandBufferReference(command_buffer);
|
||||
}
|
||||
|
||||
pub inline fn release(command_buffer: CommandBuffer) void {
|
||||
pub inline fn release(command_buffer: *CommandBuffer) void {
|
||||
Impl.commandBufferRelease(command_buffer);
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue