|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Buffers::TextureArrayBuffer::enable_layer_data | ( | ) |
Create the per-layer buffer the shader reads as layerData.
Call it before the first frame, and only for a shader that declares the buffer. Calling it again does nothing.
Definition at line 181 of file TextureArrayBuffer.cpp.
References bind_layer_data(), MayaFlux::Journal::BufferProcessing, MayaFlux::Journal::Buffers, MayaFlux::Registry::BackendRegistry::get_service(), MayaFlux::Registry::BackendRegistry::instance(), m_layer_data, m_layer_values, m_layers, MF_ERROR, and MayaFlux::Kakshya::UNKNOWN.
Referenced by write_layer_value().
Here is the call graph for this function:
Here is the caller graph for this function: