Jacket
Search the docs
/
API
Tools
Playground
main
WebGPU module
← WebGPU
Generated
wgpuRenderPipelineSetLabel
wgpuRenderPipelineAddRef
wgpuRenderPipelineRelease
wgpuSamplerSetLabel
wgpuSamplerAddRef
wgpuSamplerRelease
wgpuShaderModuleGetCompilationInfo
wgpuShaderModuleSetLabel
wgpuShaderModuleAddRef
wgpuShaderModuleRelease
wgpuSurfaceConfigure
wgpuSurfaceGetCapabilities
wgpuSurfaceGetCurrentTexture
wgpuSurfacePresent
wgpuSurfaceUnconfigure
wgpuSurfaceSetLabel
wgpuSurfaceAddRef
wgpuSurfaceRelease
wgpuTextureCreateView
wgpuTextureSetLabel
wgpuTextureGetWidth
wgpuTextureGetHeight
wgpuTextureGetDepthOrArrayLayers
wgpuTextureGetMipLevelCount
wgpuTextureGetSampleCount
wgpuTextureGetDimension
wgpuTextureGetTextureBindingViewDimension
wgpuTextureGetFormat
wgpuTextureGetUsage
wgpuTextureDestroy
wgpuTextureAddRef
wgpuTextureRelease
wgpuTextureViewSetLabel
wgpuTextureViewAddRef
wgpuTextureViewRelease
On this page
See also
std
/
Extensions
/
WebGPU
/
wgpuTextureGetWidth
wgpuTextureGetWidth
procedure
foreign
extension
experimental
Source
wgpuTextureGetWidth
:: (texture:
WGPUTexture
) ->
u32
#foreign
Parameters
texture
:
WGPUTexture
Returns
u32
See also
wgpuTextureCreateView
wgpuTextureSetLabel
wgpuTextureGetHeight
wgpuTextureGetDepthOrArrayLayers