MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ bind_influence_block()

template<typename Receiver >
Influence< InfluenceBlock >::Target MayaFlux::Nexus::bind_influence_block ( const Receiver &  target,
size_t  offset = 0 
)

Target that pushes an InfluenceBlock to a render processor for the library's lit shaders.

Parameters
targetA render processor, raw pointer or shared_ptr, retained by the target.
offsetByte offset of the block when the shader keeps push constants ahead of it.

Pairs with InfluenceBlock::from as the producer.

Definition at line 182 of file FieldTargets.hpp.

183{
184 return bind_push_constants<InfluenceBlock>(target, offset);
185}
uint64_t offset
Definition Composite.cpp:10

References offset.