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

◆ create_buffer() [3/4]

MAYAFLUX_API std::shared_ptr< Buffers::FormaBuffer > MayaFlux::Portal::Forma::create_buffer ( std::shared_ptr< Core::Window window,
Graphics::PrimitiveTopology  topology,
const std::string &  texture_binding = {} 
)

Construct and register a FormaBuffer without creating a Mapped<T>.

BufferManager is taken from the stored initialize() state.

Parameters
windowTarget window.
topologyPrimitive topology.
texture_bindingOptional descriptor name for a single texture binding
Returns
Registered, render-ready FormaBuffer.

Definition at line 218 of file Forma.cpp.

222{
223 return internal::create_buffer_impl(std::move(window), internal::k_capacity_bytes, topology, texture_binding);
224}

References MayaFlux::Portal::Forma::internal::create_buffer_impl(), and MayaFlux::Portal::Forma::internal::k_capacity_bytes.

+ Here is the call graph for this function: