Function Texture.dataLayout
Make a TextureDataLayout
given this texture's size
and TextureFormat
.
__C .WGPUTextureDataLayout dataLayout() @property const;
Returns
A result suitable for use in Buffer-Texture copies, e.g. CommandEncoder
.