Function isTextureFormatUsableAsRenderAttachment

  • Returns if a texture can be used as a render attachment. some color formats and all depth textures and stencil textures are usable with usage RENDER_ATTACHMENT.

    Parameters

    • features: GPUSupportedFeatures
    • format: GPUTextureFormat

    Returns boolean

Generated using TypeDoc