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

◆ register_graphics_buffer()

MAYAFLUX_API void MayaFlux::register_graphics_buffer ( const std::shared_ptr< Buffers::VKBuffer > &  buffer,
Buffers::ProcessingToken  token = Buffers::ProcessingToken::GRAPHICS_BACKEND 
)

Registers a VKBuffer with the default engine's buffer manager.

Parameters
bufferVKBuffer to register

Adds the buffer to the default engine's buffer management system, enabling it to participate in the graphics processing pipeline.

Definition at line 250 of file Graph.cpp.

251{
252 get_buffer_manager()->add_buffer(buffer, token);
253}
std::shared_ptr< NetworkGeometryBuffer > buffer
std::shared_ptr< Buffers::BufferManager > get_buffer_manager()
Gets the buffer manager from the default engine.
Definition Graph.cpp:148

References buffer, and get_buffer_manager().

Referenced by MayaFlux::Mint::Impl::build(), MayaFlux::Mint::Impl::build(), MayaFlux::Mint::Impl::build(), MayaFlux::Mint::Impl::build(), MayaFlux::Mint::Impl::build(), MayaFlux::Evolve::Impl::build_field(), MayaFlux::Evolve::Impl::build_flow(), MayaFlux::Evolve::Impl::build_grid(), create_buffer(), and register_buffer().

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