|
MayaFlux 0.5.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 233 of file StagingUtils.cpp.
References MayaFlux::Journal::BufferProcessing, MayaFlux::Journal::Buffers, MayaFlux::Registry::BackendRegistry::get_service(), MayaFlux::Kakshya::IMAGE_COLOR, MayaFlux::Registry::BackendRegistry::instance(), and MF_DEBUG.
Referenced by MayaFlux::Portal::Forma::make_value_row(), MayaFlux::Buffers::ImageCVProcessor< T >::on_attach(), MayaFlux::Kakshya::VisionProcessor::on_attach(), MayaFlux::Buffers::TextureProcessor::update_pixels_if_dirty(), MayaFlux::Buffers::DataWriteProcessor::upload_texture(), and MayaFlux::IO::VideoFileWriter::worker_loop().
Here is the call graph for this function:
Here is the caller graph for this function: