webgpu-feature-detector
    Preparing search index...

    Function copySupported

    • For a given texture format, check if you can call writeTexture, copyBufferToTexture, copyTextureToBuffer, and copyTextureToTexture

      Parameters

      • features: GPUSupportedFeatures
      • type: ImageCopyType | "CopyT2T"
      • format: GPUTextureFormat
      • aspect: GPUTextureAspect
      • sampleCount: number = 1

      Returns boolean