Function textureDimensionAndFormatCompatibleForDevice
- textureDimensionAndFormatCompatibleForDevice(features, dimension, format): boolean
Parameters
features: GPUSupportedFeatures
dimension: undefined | GPUTextureDimension
format: GPUTextureFormat
Returns boolean
Returns true iff a texture can be created with the provided GPUTextureDimension (defaulting to 2d) and GPUTextureFormat for a GPU device, by spec.