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

◆ build_grid()

std::shared_ptr< Buffers::RelaxationGridBuffer > MayaFlux::Evolve::build_grid ( const Buffers::RelaxationGridBuffer::GridConfig &  config,
const RenderConfig &  render,
const std::vector< std::byte > &  seed,
size_t  seed_stride 
)
private

Construct, optionally seed, register and render a relaxation grid.

Parameters
configGrid arrangement.
renderRender target.
seedPacked cell bytes, or empty to leave state as allocated.
seed_strideBytes per cell in seed, checked against the grid's stride.
Returns
The grid, or nullptr on failure.

Definition at line 280 of file Evolve.cpp.

285{
286 return m_impl->build_grid(config, render, seed, seed_stride);
287}
std::unique_ptr< Impl > m_impl
Definition Evolve.hpp:249

References build_grid().

Referenced by build_grid().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: