Function Texture.bytesPerRow

Size of one row of a texture's pixels/blocks, in bytes.

uint bytesPerRow() @property const;

See Also

wgpu::ImageDataLayout