Function Texture.rowsPerImage

“Rows” that make up a single “image”.

uint rowsPerImage() @property const;

A “row” is one row of pixels or compressed blocks in the x direction. An “image” is one layer in the z direction of a 3D image or 2D array texture.

See Also

wgpu::ImageDataLayout