Variable COPY_BYTES_PER_ROW_ALIGNMENT

Buffer-Texture copies must have TextureDataLayout.bytesPerRow aligned to this number.

const(uint) COPY_BYTES_PER_ROW_ALIGNMENT = 256u;

This doesn't apply to Queue.writeTexture.

See Also

Texture.paddedBytesPerRow: Size of one row of a texture's pixels/blocks, in bytes. Aligned to COPY_BYTES_PER_ROW_ALIGNMENT.