GPUExtent3D¶
interface GPUExtent3D
Properties¶
depthOrArrayLayers¶
abstract val depthOrArrayLayers: GPUIntegerCoordinate
The depth of the extent or the number of array layers it contains. If used with a GPUTexture with a GPUTextureDimension of "3d" defines the depth of the texture. If used with a GPUTexture with a GPUTextureDimension of "2d" defines the number of array layers in the texture.
height¶
abstract val height: GPUIntegerCoordinate
The height of the extent.
See [GPUExtent3D.height in the WebGPU specification](https://www.w3.org/TR/webgpu/#dom-gpuextent3ddict-height).
width¶
abstract val width: GPUIntegerCoordinate
The width of the extent.
See [GPUExtent3D.width in the WebGPU specification](https://www.w3.org/TR/webgpu/#dom-gpuextent3ddict-width).