pub const COPY_BYTES_PER_ROW_ALIGNMENT: u32 = 256; // 256u32
Expand description
Buffer-texture copies must have bytes_per_row
aligned to this number.
This doesn’t apply to Queue::write_texture
, only to copy_buffer_to_texture()
and copy_texture_to_buffer()
.