This class describes texture parameters.
#include <Graphic3d_TextureParams.hxx>
Constructor & Destructor Documentation
Graphic3d_TextureParams::Graphic3d_TextureParams |
( |
| ) |
|
Graphic3d_TextureParams::~Graphic3d_TextureParams |
( |
| ) |
[inline] |
Member Function Documentation
- Returns:
- level of anisontropy texture filter.
Default value is Graphic3d_LOTA_OFF.
void Graphic3d_TextureParams::Destroy |
( |
| ) |
const |
- Returns:
- texture interpolation filter.
Default value is Graphic3d_TOTF_NEAREST.
- Returns:
- texture coordinates generation mode.
Default value is Graphic3d_TOTM_MANUAL.
- Returns:
- texture coordinates generation plane S.
- Returns:
- texture coordinates generation plane T.
- Returns:
- TRUE if the texture is modulate.
Default value is FALSE.
- Returns:
- TRUE if the texture repeat is enabled.
Default value is FALSE.
- Returns:
- rotation angle in degrees
Default value is 0.
- Returns:
- scale factor
Default value is no scaling (1.0; 1.0).
- Parameters:
-
theLevel | level of anisontropy texture filter.
|
- Parameters:
-
theFilter | texture interpolation filter.
|
void Graphic3d_TextureParams::SetModulate |
( |
const Standard_Boolean |
theToModulate | ) |
|
- Parameters:
-
theToModulate | turn modulation on/off.
|
- Parameters:
-
theToRepeat | turn texture repeat mode ON or OFF (clamping).
|
- Parameters:
-
theAngleDegrees | rotation angle.
|
void Graphic3d_TextureParams::SetScale |
( |
const Graphic3d_Vec2 |
theScale | ) |
|
void Graphic3d_TextureParams::SetTranslation |
( |
const Graphic3d_Vec2 |
theVec | ) |
|
- Parameters:
-
theVec | translation vector.
|
- Returns:
- translation vector
Default value is no translation (0.0; 0.0).
The documentation for this class was generated from the following file: