• Computes layout information for a copy of size copySize to/from a GPUTexture with the provided format.

    Computes default values for bytesPerRow and rowsPerImage if not specified.


    • format: GPUTextureFormat
    • copySize: GPUExtent3D
    • __namedParameters: {
          aspect?: GPUTextureAspect;
          bytesPerRow?: number;
          rowsPerImage?: number;
      } = {}
      • Optional Readonly aspect?: GPUTextureAspect
      • Optional Readonly bytesPerRow?: number
      • Optional Readonly rowsPerImage?: number

    Returns TextureSubCopyLayout

Generated using TypeDoc