Function effectiveViewDimensionForDimension
- effectiveViewDimensionForDimension(viewDimension, dimension, depthOrArrayLayers): GPUTextureViewDimension
Parameters
viewDimension: undefined | GPUTextureViewDimension
dimension: undefined | GPUTextureDimension
depthOrArrayLayers: number
Returns GPUTextureViewDimension
Returns the effective view dimension for a given texture dimension and depthOrArrayLayers