MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Portal::Graphics::RenderConfig Struct Reference

Unified rendering configuration for graphics buffers. More...

#include <GraphicsUtils.hpp>

+ Collaboration diagram for MayaFlux::Portal::Graphics::RenderConfig:

Public Member Functions

bool operator== (const RenderConfig &other) const =default
 

Public Attributes

std::shared_ptr< Core::Windowtarget_window
 
std::string vertex_shader
 
std::string fragment_shader
 
std::string geometry_shader
 
std::string default_texture_binding
 
PrimitiveTopology topology { PrimitiveTopology::POINT_LIST }
 
PolygonMode polygon_mode { PolygonMode::FILL }
 
CullMode cull_mode { CullMode::NONE }
 
std::vector< std::pair< std::string, std::shared_ptr< Core::VKImage > > > additional_textures
 For child-specific fields.
 
std::unordered_map< std::string, std::string > extra_string_params
 

Detailed Description

Unified rendering configuration for graphics buffers.

This is the persistent state that processors query and react to. All rendering parameters in one place, independent of buffer type. Child buffer classes populate it with context-specific defaults during construction, then expose it to their processors.

Design:

  • Owned by VKBuffer as persistent state
  • Processors query and react to changes
  • Child classes have their own convenience RenderConfig with defaults that bridge to this Portal-level config

Definition at line 199 of file GraphicsUtils.hpp.


The documentation for this struct was generated from the following file: