Function getTextureSubCopyLayout
- getTextureSubCopyLayout(format, copySize, __namedParameters?): TextureSubCopyLayout
Parameters
format: GPUTextureFormat
copySize: GPUExtent3D
__namedParameters: {
aspect?: GPUTextureAspect;
bytesPerRow?: number;
rowsPerImage?: number;
} = {}
Optional Readonly aspect?: GPUTextureAspect
Optional Readonly bytesPerRow?: number
Optional Readonly rowsPerImage?: number
Computes layout information for a copy of size
copySizeto/from a GPUTexture with the providedformat.Computes default values for
bytesPerRowandrowsPerImageif not specified.