Function textureDimensionAndFormatCompatible

  • Returns true iff a texture can be created with the provided GPUTextureDimension (defaulting to 2d) and GPUTextureFormat, by spec.

    Parameters

    • dimension: undefined | GPUTextureDimension
    • format: GPUTextureFormat

    Returns boolean

Generated using TypeDoc