dimension property

GPUTextureDimension get dimension

The dimension read-only property of the GPUTexture interface represents the dimension of the set of texels for each GPUTexture subresource.

This is set via the dimension property in the descriptor object passed into the originating GPUDevice.createTexture call, which defaults to "2d" if omitted.

Implementation

external GPUTextureDimension get dimension;