Performs Alloc.
Options object for the function call.
OptionalisInternalConstructor: booleanReturns extents of the pixel volume this object is capable of holding.
Returns the pixel format used by the internal buffer for storing the pixels.
Return whether this buffer is laid out consecutive in memory (meaning the pitches are equal to the dimensions).
Returns the number of bytes that offsets one row from another. This can be exact number of bytes required to hold "width" pixel, but doesn't have to be as some buffers require padding.
Return the size (in bytes) of the buffer this image requires.
Returns the number of bytes that offsets one depth slice from another. This can be exact number of bytes required to hold "width * height" pixels, but doesn't have to be as some buffers require padding.
A buffer describing a volume (3D), image (2D) or line (1D) of pixels in memory. Pixels are stored as a succession of "depth" slices, each containing "height" rows of "width" pixels.
Note
If using the constructor instead of Create() you must call GPUResourceData::allocateInternalBuffer or set the buffer in some other way before reading/writing from this object, as by the default there is no buffer allocated.