|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Buffers::FormaBindingsProcessor::bind_typed_push_constant | ( | const std::string & | name, |
| std::function< Kakshya::GpuValue()> | reader, | ||
| uint32_t | offset | ||
| ) |
Bind a typed reader to a push constant slot.
The value is written as its own format's bytes at the offset, with no conversion, so vectors and matrices keep every component. The slot is as wide as the value each tick.
| name | Logical binding name. |
| reader | Callable returning the current value each tick. |
| offset | Byte offset in the push constant struct. |
Definition at line 74 of file FormaBindingsProcessor.cpp.
References b, MayaFlux::Journal::BufferProcessing, MayaFlux::Journal::Buffers, m_bindings, MF_ERROR, name, MayaFlux::Buffers::FormaBindingsProcessor::PushConstantTarget::offset, offset, PUSH_CONSTANT, and release().
Here is the call graph for this function: