|
MayaFlux 0.3.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API std::shared_ptr< VKBuffer > MayaFlux::Buffers::create_image_staging_buffer | ( | size_t | size | ) |
Allocate a persistent host-visible staging buffer sized for repeated streaming uploads to an image of size bytes.
Call once; pass the result to upload_image_streaming() every frame.
| size | Byte footprint of the target image (use VKImage::get_size_bytes()). |
Definition at line 246 of file StagingUtils.cpp.
References MayaFlux::Journal::BufferProcessing, MayaFlux::Journal::Buffers, MayaFlux::Registry::BackendRegistry::get_service(), MayaFlux::Kakshya::IMAGE_COLOR, MayaFlux::Registry::BackendRegistry::instance(), MF_DEBUG, and MayaFlux::Buffers::VKBuffer::STAGING.
Referenced by MayaFlux::Buffers::TextureProcessor::update_pixels_if_dirty().
Here is the call graph for this function:
Here is the caller graph for this function: