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

◆ make_header_buffer()

std::shared_ptr< Buffers::FormaBuffer > MayaFlux::Portal::Forma::Inspector::make_header_buffer ( const std::shared_ptr< Core::Window > &  window) const
private

A "text"-slotted buffer, registered with the BufferManager.

Used as make_entry_group's header, whose label Collapsible::place() draws itself, and as the buffer make_row_buffers slices.

Definition at line 11 of file Inspector.cpp.

13{
14 auto buf = std::make_shared<Buffers::FormaBuffer>(
15 k_row_buffer_capacity, Graphics::PrimitiveTopology::TRIANGLE_LIST);
17 buf->setup_rendering({
18 .target_window = window,
19 .additional_textures = { { "text", nullptr } },
20 });
21 return buf;
22}
std::weak_ptr< Core::Window > window
Definition Picker.cpp:23
void add_buffer(const std::shared_ptr< Buffer > &buffer, ProcessingToken token, uint32_t channel=0)
Adds a buffer to a token and channel.
Buffers::BufferManager & m_bm
@ GRAPHICS_BACKEND
Standard graphics processing backend configuration.

References MayaFlux::Buffers::BufferManager::add_buffer(), MayaFlux::Buffers::GRAPHICS_BACKEND, m_bm, MayaFlux::Portal::Graphics::TRIANGLE_LIST, and window.

Referenced by buffer(), buffer_manager(), event(), event_manager(), inspect_modulator_tree(), inspect_task(), make_row_buffers(), node(), node_graph_manager(), node_network(), root_audio_buffer(), root_audio_buffer(), root_graphics_buffer(), root_node(), root_node(), scheduler(), and tasks().

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