Jacket
Search the docs
/
API
Tools
Playground
main
WebGPU module
← WebGPU
Generated
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
wgpuQuerySetRelease
On this page
See also
std
/
Extensions
/
WebGPU
/
wgpuDeviceAddRef
wgpuDeviceAddRef
procedure
foreign
extension
experimental
Source
wgpuDeviceAddRef
:: (device:
WGPUDevice
) #foreign
Parameters
device
:
WGPUDevice
See also
wgpuDevicePopErrorScope
wgpuDeviceSetLabel
wgpuDeviceRelease
wgpuExternalTextureSetLabel