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

◆ params()

void MayaFlux::Kriya::Chimera::params ( size_t  layer,
const glm::vec4 &  values 
)

Set the params of one layer in the buffer's per-layer data.

Placement, scale, a mask or anything else the shader reads from layerData[2 * layer]. Enables the buffer's layer data.

Definition at line 36 of file Chimera.cpp.

37{
38 if (m_state) {
39 m_state->buffer->set_layer_params(static_cast<uint32_t>(layer), values);
40 }
41}
std::vector< std::byte > values
Definition VDBWriter.cpp:26
std::shared_ptr< State > m_state
Definition Chimera.hpp:159

References m_state, and values.