Constant wgpu::COPY_BYTES_PER_ROW_ALIGNMENT

source ·
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.