|
MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
|
Operator that produces GPU-renderable geometry. More...
#include <GraphicsOperator.hpp>
Inheritance diagram for MayaFlux::Nodes::Network::GraphicsOperator:
Collaboration diagram for MayaFlux::Nodes::Network::GraphicsOperator:Public Member Functions | |
| virtual std::span< const uint8_t > | get_vertex_data () const =0 |
| Get vertex data for GPU upload. | |
| virtual std::span< const uint8_t > | get_vertex_data_for_collection (uint32_t idx=0) const =0 |
| Get vertex data for specific collection (if multiple) | |
| virtual Kakshya::VertexLayout | get_vertex_layout () const =0 |
| Get vertex layout describing vertex structure. | |
| virtual size_t | get_vertex_count () const =0 |
| Get number of vertices (may differ from point count for topology/path) | |
| virtual bool | is_vertex_data_dirty () const =0 |
| Check if geometry changed this frame. | |
| virtual void | mark_vertex_data_clean ()=0 |
| Clear dirty flag after GPU upload. | |
| virtual size_t | get_point_count () const =0 |
| Get source point count (before topology expansion) | |
| void | apply_one_to_one (std::string_view param, const std::shared_ptr< NodeNetwork > &source) override |
| Apply ONE_TO_ONE parameter mapping. | |
| virtual const char * | get_vertex_type_name () const =0 |
| Get human-readable vertex type name (for validation/debugging) | |
Public Member Functions inherited from MayaFlux::Nodes::Network::NetworkOperator | |
| virtual | ~NetworkOperator ()=default |
| virtual void | process (float dt)=0 |
| Process for one batch cycle. | |
| virtual void | set_parameter (std::string_view param, double value)=0 |
| Set operator parameter. | |
| virtual std::optional< double > | query_state (std::string_view query) const =0 |
| Query operator internal state. | |
| virtual std::string_view | get_type_name () const =0 |
| Type name for introspection. | |
Protected Member Functions | |
| virtual void * | get_data_at (size_t global_index)=0 |
| Get mutable access to point at global index. | |
Operator that produces GPU-renderable geometry.
Adds graphics-specific interface (vertex data, position extraction) on top of base NetworkOperator. Uses glm::vec3 for positions since that's the graphics domain standard.
Definition at line 16 of file GraphicsOperator.hpp.