Jacket
Search the docs
/
API
Tools
Playground
main
WebGPU module
← WebGPU
Generated
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
/
wgpuTextureGetMipLevelCount
wgpuTextureGetMipLevelCount
procedure
foreign
extension
experimental
Source
wgpuTextureGetMipLevelCount
:: (texture:
WGPUTexture
) ->
u32
#foreign
Parameters
texture
:
WGPUTexture
Returns
u32
See also
wgpuTextureGetHeight
wgpuTextureGetDepthOrArrayLayers
wgpuTextureGetSampleCount
wgpuTextureGetDimension