|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Portal::Forma::Bridge::write | ( | const ElementRef & | ref, |
| const std::shared_ptr< Buffers::VKBuffer > & | target_buffer, | ||
| const std::string & | shader_path, | ||
| uint32_t | offset, | ||
| size_t | size = sizeof(float) |
||
| ) |
Route element value to a push constant slot on a ShaderProcessor.
| ref | Owning Layer and element id. |
| target | VKBuffer whose push_constant staging receives the value. |
| offset | Byte offset in the push constant struct. |
| size | Byte width. Defaults to sizeof(float). |
Definition at line 102 of file Bridge.cpp.
References MayaFlux::Buffers::BufferManager::add_processor(), find_record(), MayaFlux::Buffers::GRAPHICS_BACKEND, MayaFlux::Journal::Init, m_buffer_manager, MF_ERROR, offset, MayaFlux::Journal::Portal, and size.
Here is the call graph for this function: