Jacket
Search the docs
/
API
Tools
Playground
main
WebGPU module
← WebGPU
Generated
wgpuDeviceCreateCommandEncoder
wgpuDeviceCreateComputePipeline
wgpuDeviceCreateComputePipelineAsync
wgpuDeviceCreatePipelineLayout
wgpuDeviceCreateQuerySet
wgpuDeviceCreateRenderPipelineAsync
wgpuDeviceCreateRenderBundleEncoder
wgpuDeviceCreateRenderPipeline
wgpuDeviceCreateSampler
wgpuDeviceCreateShaderModule
wgpuDeviceCreateTexture
wgpuDeviceDestroy
wgpuDeviceGetLostFuture
wgpuDeviceGetLimits
wgpuDeviceHasFeature
wgpuDeviceGetFeatures
wgpuDeviceGetAdapterInfo
wgpuDeviceGetQueue
wgpuDevicePushErrorScope
wgpuDevicePopErrorScope
wgpuDeviceSetLabel
wgpuDeviceAddRef
wgpuDeviceRelease
wgpuExternalTextureSetLabel
wgpuExternalTextureAddRef
wgpuExternalTextureRelease
wgpuInstanceCreateSurface
wgpuInstanceGetWGSLLanguageFeatures
wgpuInstanceHasWGSLLanguageFeature
wgpuInstanceRequestAdapter
wgpuInstanceAddRef
wgpuInstanceRelease
wgpuPipelineLayoutSetLabel
wgpuPipelineLayoutAddRef
wgpuPipelineLayoutRelease
wgpuQuerySetSetLabel
wgpuQuerySetGetType
wgpuQuerySetGetCount
wgpuQuerySetDestroy
wgpuQuerySetAddRef
On this page
See also
std
/
Extensions
/
WebGPU
/
wgpuDeviceSetLabel
wgpuDeviceSetLabel
procedure
foreign
extension
experimental
Source
wgpuDeviceSetLabel
:: (device:
WGPUDevice
, label:
WGPUStringView
) #foreign
Parameters
device
:
WGPUDevice
label
:
WGPUStringView
See also
wgpuDevicePushErrorScope
wgpuDevicePopErrorScope
wgpuDeviceAddRef
wgpuDeviceRelease