|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
explicit |
Construct from a GridConfig.
| config | Grid arrangement. |
| std::invalid_argument | When a path stage declares no state, when rule and emit disagree on the cell format, or when the format is a three component vector, whose std430 array stride (16 bytes) differs from gpu_data_format_bytes. |
Derives the cell stride from the stage format and delegates to the positional constructor.
Definition at line 121 of file RelaxationGridBuffer.cpp.
References MayaFlux::Buffers::RelaxationGridBuffer::GridConfig::Stage::constants, MayaFlux::Buffers::RelaxationGridBuffer::GridConfig::emit, MayaFlux::Buffers::RelaxationGridBuffer::GridConfig::extent, m_emit_constants, m_extent, m_point_size, m_rule_constants, MayaFlux::Buffers::RelaxationGridBuffer::GridConfig::point_size, and MayaFlux::Buffers::RelaxationGridBuffer::GridConfig::rule.