gpu: add PipelineLayout.setLabel
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
bf81debf42
commit
e128d38e86
2 changed files with 10 additions and 2 deletions
|
|
@ -691,6 +691,11 @@ const pipeline_layout_vtable = PipelineLayout.VTable{
|
|||
c.wgpuPipelineLayoutRelease(@ptrCast(c.WGPUPipelineLayout, ptr));
|
||||
}
|
||||
}).release,
|
||||
.setLabel = (struct {
|
||||
pub fn setLabel(ptr: *anyopaque, label: [:0]const u8) void {
|
||||
c.wgpuPipelineLayoutSetLabel(@ptrCast(c.WGPUPipelineLayout, ptr), label);
|
||||
}
|
||||
}).setLabel,
|
||||
};
|
||||
|
||||
fn wrapExternalTexture(texture: c.WGPUExternalTexture) ExternalTexture {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue