Cumulia Illustrator Rendering Engine v2.1.0
A Rendering engine for industrial CAD/CAE model and optimized for greatest performance
 
Loading...
Searching...
No Matches
cil::Material Class Reference

The Material class defines the material properties of an object. It affects the appearance of the object during rendering. More...

#include <material.h>

Inheritance diagram for cil::Material:
cil::Object

Public Attributes

ProgramPtr 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, VariantPtr > > 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< StatePtr > > 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 ()
 

Detailed Description

The Material class defines the material properties of an object. It affects the appearance of the object during rendering.

Member Data Documentation

◆ parameters

std::shared_ptr<std::map<std::string, VariantPtr> > cil::Material::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.

◆ program

ProgramPtr 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.

◆ states

std::shared_ptr<std::vector<StatePtr> > cil::Material::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.