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

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 220 of file GraphicsUtils.hpp.


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