Defines generic state of material properties.
More...
#include <OpenGl_MaterialState.hxx>
Defines generic state of material properties.
◆ OpenGl_MaterialState()
OpenGl_MaterialState::OpenGl_MaterialState |
( |
| ) |
|
|
inline |
Creates new material state.
◆ AlphaCutoff()
float OpenGl_MaterialState::AlphaCutoff |
( |
| ) |
const |
|
inline |
◆ HasAlphaCutoff()
bool OpenGl_MaterialState::HasAlphaCutoff |
( |
| ) |
const |
|
inline |
Return TRUE if alpha test should be enabled.
◆ Material()
◆ Set()
void OpenGl_MaterialState::Set |
( |
const OpenGl_Material & | theMat, |
|
|
const float | theAlphaCutoff, |
|
|
const bool | theToDistinguish, |
|
|
const bool | theToMapTexture ) |
|
inline |
Sets new material aspect.
◆ ToDistinguish()
bool OpenGl_MaterialState::ToDistinguish |
( |
| ) |
const |
|
inline |
Distinguish front/back flag.
◆ ToMapTexture()
bool OpenGl_MaterialState::ToMapTexture |
( |
| ) |
const |
|
inline |
Flag for mapping a texture.
The documentation for this class was generated from the following file: