|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
|
inline |
Bind a MappedState<T> to a push constant slot on an external ShaderProcessor.
| name | Logical binding name for introspection and unbind. |
| state | MappedState whose value is read each graphics tick. |
| project | Projection from T to float. Called every tick. the value at offset. Any subclass is valid. |
| offset | Byte offset in the target's push constant struct. |
| size | Byte width of the written value. Defaults to sizeof(float). |
| T | MappedState value type. |
Definition at line 128 of file FormaBindingsProcessor.hpp.
References b, MF_ERROR, and MayaFlux::Buffers::FormaBindingsProcessor::PushConstantTarget::offset.