pub const COPY_BYTES_PER_ROW_ALIGNMENT: u32 = 256;
Expand description
Buffer-to-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()
.
pub const COPY_BYTES_PER_ROW_ALIGNMENT: u32 = 256;
Buffer-to-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()
.