Function viewDimensionsForTextureDimension
- viewDimensionsForTextureDimension(textureDimension): readonly ["1d"] | readonly ["2d", "2d-array", "cube", "cube-array"] | readonly ["3d"]
Parameters
textureDimension: GPUTextureDimension
Returns readonly ["1d"] | readonly ["2d", "2d-array", "cube", "cube-array"] | readonly ["3d"]
Returns the possible valid view dimensions for a given texture dimension.