|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Buffers::FormaBuffer::set_texture | ( | std::shared_ptr< Core::VKImage > | image, |
| std::string | binding | ||
| ) |
Supply a texture to be bound on the next graphics tick.
The image is owned externally — a TextBuffer's VKImage from InkPress, a loaded asset, a render target, anything. FormaProcessor forwards it to the RenderProcessor on the next processing_function call. Calling again replaces the previous binding.
| image | GPU image to bind. nullptr clears the binding. |
| binding | Descriptor name in the shader (e.g. "texSampler"). |
Definition at line 160 of file FormaBuffer.cpp.
References MayaFlux::Journal::BufferProcessing, MayaFlux::Journal::Buffers, image, m_pending_textures, m_processor, and MF_RT_TRACE.