gpu: convert *opaque -> opaque for BindGroup
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
b6eb989dfa
commit
13038afb28
4 changed files with 7 additions and 7 deletions
|
|
@ -5,16 +5,16 @@ const ChainedStruct = @import("types.zig").ChainedStruct;
|
|||
const BindGroupLayout = @import("bind_group_layout.zig").BindGroupLayout;
|
||||
const Impl = @import("interface.zig").Impl;
|
||||
|
||||
pub const BindGroup = *opaque {
|
||||
pub inline fn setLabel(bind_group: BindGroup, label: [*:0]const u8) void {
|
||||
pub const BindGroup = opaque {
|
||||
pub inline fn setLabel(bind_group: *BindGroup, label: [*:0]const u8) void {
|
||||
Impl.bindGroupSetLabel(bind_group, label);
|
||||
}
|
||||
|
||||
pub inline fn reference(bind_group: BindGroup) void {
|
||||
pub inline fn reference(bind_group: *BindGroup) void {
|
||||
Impl.bindGroupReference(bind_group);
|
||||
}
|
||||
|
||||
pub inline fn release(bind_group: BindGroup) void {
|
||||
pub inline fn release(bind_group: *BindGroup) void {
|
||||
Impl.bindGroupRelease(bind_group);
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue