|
MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
|
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::Window > | target_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 |
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:
Definition at line 199 of file GraphicsUtils.hpp.