The Program class represents a shader program containing vertex and fragment shaders used for rendering with specific material properties. More...
#include <program.h>
Public Member Functions | |
| Program (const std::shared_ptr< VertexSource > &vertex, const std::shared_ptr< FragmentSource > &fragment, const std::shared_ptr< GeometrySource > &geometry) | |
Public Member Functions inherited from cil::Object | |
| Object () | |
| virtual | ~Object () |
Public Attributes | |
| std::shared_ptr< VertexSource > | vertex |
| std::shared_ptr< FragmentSource > | fragment |
| std::shared_ptr< GeometrySource > | geometry |
The Program class represents a shader program containing vertex and fragment shaders used for rendering with specific material properties.
| cil::Program::Program | ( | const std::shared_ptr< VertexSource > & | vertex, |
| const std::shared_ptr< FragmentSource > & | fragment, | ||
| const std::shared_ptr< GeometrySource > & | geometry ) |
| std::shared_ptr<FragmentSource> cil::Program::fragment |
| std::shared_ptr<GeometrySource> cil::Program::geometry |
| std::shared_ptr<VertexSource> cil::Program::vertex |