Extent3D¶
data class Extent3D(
val width: GPUIntegerCoordinate,
val height: GPUIntegerCoordinate,
val depthOrArrayLayers: GPUIntegerCoordinate
) : GPUExtent3D
Constructors¶
Extent3D¶
constructor(
width: GPUIntegerCoordinate,
height: GPUIntegerCoordinate,
depthOrArrayLayers: GPUIntegerCoordinate
)
Properties¶
depthOrArrayLayers¶
open override 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¶
open override 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¶
open override val width: GPUIntegerCoordinate
The width of the extent.
See [GPUExtent3D.width in the WebGPU specification](https://www.w3.org/TR/webgpu/#dom-gpuextent3ddict-width).