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

◆ FormaBuffer() [1/4]

MayaFlux::Buffers::FormaBuffer::FormaBuffer ( size_t  capacity_bytes,
Portal::Graphics::PrimitiveTopology  topology 
)

Construct a FormaBuffer.

Parameters
capacity_bytesInitial buffer capacity. Size the buffer for the maximum expected vertex count from the geometry function. write_bytes() will warn if exceeded.
topologyPrimitive topology. Determines default shaders selected in setup_rendering().

Definition at line 18 of file FormaBuffer.cpp.