A view of a buffer which can be used to copy to or from a texture.
Variables
bytesPerRow:Int
The size in bytes of a single row of the texture.
In the future this must be a multiple of 256 bytes, however the requirement is currently unimplemented.
rowsPerImage:Int
The height in texels of the imaginary texture view overlaid on the buffer.
Must be zero for copies where copy_size.depth == 1