Open CASCADE Technology
7.2.0
|
Defines generic state of material properties. More...
#include <OpenGl_MaterialState.hxx>
Public Member Functions | |
OpenGl_MaterialState () | |
Creates new material state. More... | |
void | Set (const OpenGl_Material &theFrontMat, const OpenGl_Material &theBackMat, const bool theToDistinguish, const bool theToMapTexture) |
Sets new material aspect. More... | |
const OpenGl_Material & | FrontMaterial () const |
Return front material. More... | |
const OpenGl_Material & | BackMaterial () const |
Return back material. More... | |
bool | ToDistinguish () const |
Distinguish front/back flag. More... | |
bool | ToMapTexture () const |
Flag for mapping a texture. More... | |
Public Member Functions inherited from OpenGl_StateInterface | |
OpenGl_StateInterface () | |
Creates new state. More... | |
Standard_Size | Index () const |
Returns current state index. More... | |
void | Update () |
Increment current state. More... | |
Additional Inherited Members | |
Protected Attributes inherited from OpenGl_StateInterface | |
Standard_Size | myIndex |
current state index More... | |
Defines generic state of material properties.
|
inline |
Creates new material state.
|
inline |
Return back material.
|
inline |
Return front material.
|
inline |
Sets new material aspect.
|
inline |
Distinguish front/back flag.
|
inline |
Flag for mapping a texture.