The Material class defines the material properties of an object. It affects the appearance of the object during rendering. More...
#include <material.h>
Public Attributes | |
| std::shared_ptr< Program > | program |
| This memeber is a shared pointer to a Program object, which represents a shader program containing vertex and fragment shaders used for rendering. | |
| std::shared_ptr< std::map< std::string, std::shared_ptr< Variant > > > | parameters |
| This member is a shared pointer of a map object which uses a string as the key and a Variant as the value. This structure allows you to store various paramters, like color, shininess, texture, under unique string identifier within the current Material object. | |
| std::shared_ptr< std::vector< std::shared_ptr< State > > > | states |
| This member is a dynamic array of shared pointers to States objects, which represents a collection of rendering state settings, like depth test, blending mode, that can be specific to the current Material object. | |
Additional Inherited Members | |
Public Member Functions inherited from cil::Object | |
| Object () | |
| virtual | ~Object () |
The Material class defines the material properties of an object. It affects the appearance of the object during rendering.
| std::shared_ptr<std::map<std::string, std::shared_ptr<Variant> > > cil::Material::parameters |
| std::shared_ptr<Program> cil::Material::program |
This memeber is a shared pointer to a Program object, which represents a shader program containing vertex and fragment shaders used for rendering.