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

◆ Form() [3/3]

template<typename T >
MayaFlux::Portal::Forma::Geometry::Form< T >::Form ( GeometryFn< T >  fn,
Graphics::PrimitiveTopology  topo,
size_t  cap,
std::function< void(Context &, uint32_t, std::shared_ptr< MappedState< T > >)>  w = {} 
)
inline

Definition at line 113 of file Geometry.hpp.

114 {})
115 : geometry(std::move(fn))
116 , topology(topo)
117 , capacity(cap)
118 , wire(std::move(w))
119 {
120 }
GeometryFn< T > geometry
Writes vertex bytes for the current value.
Definition Geometry.hpp:85
size_t capacity
FormaBuffer capacity in bytes for the vertex count geometry writes.
Definition Geometry.hpp:91
std::function< void(Context &, uint32_t, std::shared_ptr< MappedState< T > >)> wire
Registers interaction against the realized element.
Definition Geometry.hpp:100
Graphics::PrimitiveTopology topology
Topology matching the vertex kind geometry writes.
Definition Geometry.hpp:88