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

◆ layer_data()

ChimeraBuilder & MayaFlux::Kriya::ChimeraBuilder::layer_data ( )

Create the per-layer buffer the shader reads as layerData.

For a shader that reads the timing a Chimera writes and declares the buffer. Layers given params enable it without this call.

Definition at line 327 of file Chimera.cpp.

328{
329 if (m_buffer) {
330 m_buffer->enable_layer_data();
331 }
332 return *this;
333}
std::shared_ptr< Buffers::TextureArrayBuffer > m_buffer
Definition Chimera.hpp:318

References m_buffer.