|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| bool MayaFlux::Kakshya::TextureCollection::append | ( | const std::shared_ptr< Core::VKImage > & | image | ) |
Copy image into the next layer.
An image of another size is scaled to fit inside the layer, keeping its aspect ratio, centred on a zeroed background. The format is converted.
Definition at line 49 of file TextureCollection.cpp.
References MayaFlux::Kakshya::TextureContainer::append_image_layer(), MayaFlux::Journal::ContainerProcessing, copy_into(), MayaFlux::Portal::Graphics::TextureLoom::create_2d(), MayaFlux::Kakshya::TextureContainer::get_format(), MayaFlux::Kakshya::TextureContainer::get_height(), MayaFlux::Kakshya::TextureContainer::get_layer_count(), MayaFlux::Kakshya::TextureContainer::get_width(), MayaFlux::Kakshya::TextureContainer::hold_layer(), image, MayaFlux::Portal::Graphics::TextureLoom::instance(), is_full(), MayaFlux::Journal::Kakshya, MayaFlux::Kakshya::TextureContainer::layer_image(), m_full_reported, m_spec, m_write_head, MayaFlux::Kakshya::TextureCollectionSpec::max_bytes, MF_ERROR, MF_WARN, and MayaFlux::Kakshya::TextureCollectionSpec::ring_layers.
Here is the call graph for this function: