Function getTextureCopyLayout
- getTextureCopyLayout(format, dimension, baseSize, __namedParameters?): TextureCopyLayout
Parameters
format: GPUTextureFormat
dimension: GPUTextureDimension
baseSize: readonly [number, number, number]
__namedParameters: LayoutOptions = kDefaultLayoutOptions
Computes layout information for a copy of the whole subresource at
mipLevelof a GPUTexture of sizebaseSizewith the providedformatanddimension.Computes default values for
bytesPerRowandrowsPerImageif not specified.MAINTENANCE_TODO: Change input/output to Required for consistency.