gpu: internalize RenderBundle types
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
836c46cc6c
commit
0fac1d9336
3 changed files with 10 additions and 10 deletions
|
|
@ -2,6 +2,11 @@ const ChainedStruct = @import("types.zig").ChainedStruct;
|
|||
const Impl = @import("interface.zig").Impl;
|
||||
|
||||
pub const RenderBundle = opaque {
|
||||
pub const Descriptor = extern struct {
|
||||
next_in_chain: ?*const ChainedStruct = null,
|
||||
label: ?[*:0]const u8 = null,
|
||||
};
|
||||
|
||||
pub inline fn reference(render_bundle: *RenderBundle) void {
|
||||
Impl.renderBundleReference(render_bundle);
|
||||
}
|
||||
|
|
@ -10,8 +15,3 @@ pub const RenderBundle = opaque {
|
|||
Impl.renderBundleRelease(render_bundle);
|
||||
}
|
||||
};
|
||||
|
||||
pub const RenderBundleDescriptor = extern struct {
|
||||
next_in_chain: ?*const ChainedStruct = null,
|
||||
label: ?[*:0]const u8 = null,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue