gpu: implement RenderBundle methods
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
5e4f9a2993
commit
e287b66d53
1 changed files with 7 additions and 4 deletions
|
|
@ -1,11 +1,14 @@
|
|||
const ChainedStruct = @import("types.zig").ChainedStruct;
|
||||
const impl = @import("interface.zig").impl;
|
||||
|
||||
pub const RenderBundle = *opaque {
|
||||
// TODO
|
||||
// pub inline fn renderBundleReference(render_bundle: gpu.RenderBundle) void {
|
||||
pub inline fn reference(render_bundle: RenderBundle) void {
|
||||
impl.renderBundleReference(render_bundle);
|
||||
}
|
||||
|
||||
// TODO
|
||||
// pub inline fn renderBundleRelease(render_bundle: gpu.RenderBundle) void {
|
||||
pub inline fn release(render_bundle: RenderBundle) void {
|
||||
impl.renderBundleRelease(render_bundle);
|
||||
}
|
||||
};
|
||||
|
||||
pub const RenderBundleDescriptor = extern struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue