|
MayaFlux 1.0.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::vector< std::pair< std::string, std::shared_ptr< Core::VKImage > > > | additional_textures |
| CullMode | cull_mode { CullMode::NONE } |
| std::string | default_texture_binding |
| int64_t | draw_priority {} |
| Draw-order priority. Higher sorts later (drawn on top). Default 0. | |
| std::unordered_map< std::string, std::string > | extra_string_params |
| std::string | fragment_shader |
| std::string | geometry_shader |
| PolygonMode | polygon_mode { PolygonMode::FILL } |
| std::optional< Kinesis::Scissor > | scissor |
| Clip this buffer's draws to an NDC region. | |
| std::shared_ptr< Core::Window > | target_window |
| PrimitiveTopology | topology { PrimitiveTopology::POINT_LIST } |
| bool | triangulate { false } |
| Reduce supplied spans to triangles before drawing them. | |
| std::string | vertex_shader |
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 326 of file GraphicsUtils.hpp.