|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API DataVariant MayaFlux::Kakshya::make_empty_storage | ( | Portal::Graphics::ImageFormat | format, |
| size_t | element_count | ||
| ) |
Allocate a zeroed DataVariant of the alternative backing a format.
| format | Pixel format determining the element type. |
| element_count | Number of elements, not bytes. Typically width * height * channel_count. |