|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API DataVariant MayaFlux::Kakshya::make_empty_storage | ( | 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. |
Definition at line 154 of file PixelStorage.cpp.
References format, and storage_element_size().
Referenced by MayaFlux::Kakshya::TextureContainer::append_image_layer(), MayaFlux::Kakshya::CameraContainer::CameraContainer(), MayaFlux::Kakshya::TextureContainer::claim_cpu(), MayaFlux::Kakshya::TextureContainer::clear(), MayaFlux::Kakshya::TextureContainer::ensure_cpu(), MayaFlux::Kakshya::TextureContainer::from_image(), MayaFlux::Kakshya::TextureContainer::from_image(), MayaFlux::Kakshya::TextureContainer::from_image_array(), MayaFlux::Kakshya::TextureContainer::from_image_array(), MayaFlux::Kakshya::TextureContainer::hold_layer(), and MayaFlux::Kakshya::TextureContainer::TextureContainer().
Here is the call graph for this function:
Here is the caller graph for this function: