|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
static |
Allocate zeroed pixel storage of the variant format calls for.
The variant matches what is_consistent() expects: uint8 for the 8-bit formats, uint16 for the 16-bit and half-float formats, float for the 32-bit float formats. Holds width * height * channels elements.
Definition at line 5 of file ImageData.cpp.
References channels, element_count(), format, height, pixels, and width.
Referenced by MayaFlux::Portal::Graphics::TextureLoom::download_image(), and from_bytes().
Here is the call graph for this function:
Here is the caller graph for this function: