gpu: add QuerySet.destroy
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
3c44baa863
commit
181e0a19f5
2 changed files with 11 additions and 2 deletions
|
|
@ -716,6 +716,11 @@ const query_set_vtable = QuerySet.VTable{
|
|||
c.wgpuQuerySetSetLabel(@ptrCast(c.WGPUQuerySet, ptr), label);
|
||||
}
|
||||
}).setLabel,
|
||||
.destroy = (struct {
|
||||
pub fn destroy(ptr: *anyopaque) void {
|
||||
c.wgpuQuerySetDestroy(@ptrCast(c.WGPUQuerySet, ptr));
|
||||
}
|
||||
}).destroy,
|
||||
};
|
||||
|
||||
fn wrapPipelineLayout(layout: c.WGPUPipelineLayout) PipelineLayout {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue