#include <iShaderMaterial.h>
Inherits igor::iResource.
◆ getOrder()
int32 igor::iShaderMaterial::getOrder |
( |
| ) |
const |
◆ getRenderState()
returns the value of a specific render state
- Parameters
-
- Returns
- render state value
◆ getShaderProgram()
- Returns
- the shader program
◆ getVisibility()
- Returns
- visibility of material
◆ hasDirectionalLight()
bool igor::iShaderMaterial::hasDirectionalLight |
( |
| ) |
const |
- Returns
- true if shader has directional light
◆ hasEyePosition()
bool igor::iShaderMaterial::hasEyePosition |
( |
| ) |
const |
- Returns
- true if shader has eye position
◆ hasModelMatrix()
bool igor::iShaderMaterial::hasModelMatrix |
( |
| ) |
const |
- Returns
- true if shader contains model matrix
◆ hasModelViewMatrix()
bool igor::iShaderMaterial::hasModelViewMatrix |
( |
| ) |
const |
- Returns
- true if shader contains model view matrix
◆ hasModelViewProjectionMatrix()
bool igor::iShaderMaterial::hasModelViewProjectionMatrix |
( |
| ) |
const |
- Returns
- true if shader contains model view projection matrix
◆ hasSolidColor()
bool igor::iShaderMaterial::hasSolidColor |
( |
| ) |
const |
- Returns
- true if shader contains solid color property
◆ hasTargetMaterial()
bool igor::iShaderMaterial::hasTargetMaterial |
( |
| ) |
const |
- Returns
- true if shader contains target material
◆ hasTextureUnit()
bool igor::iShaderMaterial::hasTextureUnit |
( |
uint32 |
texUnit | ) |
const |
- Returns
- true if given texture unit is used
- Parameters
-
texUnit | the given texture unit |
◆ hasTilingConfig()
bool igor::iShaderMaterial::hasTilingConfig |
( |
| ) |
const |
- Returns
- true if shader contains tiling property
◆ hasVelocityOrientedConfig()
bool igor::iShaderMaterial::hasVelocityOrientedConfig |
( |
| ) |
const |
- Returns
- true if shader has velocity oriented roperty
◆ hasViewProjectionMatrix()
bool igor::iShaderMaterial::hasViewProjectionMatrix |
( |
| ) |
const |
- Returns
- true if shader contains view projection matrix
◆ isValid()
bool igor::iShaderMaterial::isValid |
( |
| ) |
const |
- Returns
- true if this material is ready for use
◆ setOrder()
set render order
- Parameters
-
order | the higher the value the later it get's rendered (default is iMaterial_old::RENDER_ORDER_DEFAULT) |
◆ setRenderState()
defines the value of a specific render state
- Parameters
-
state | render state |
value | render state value |
◆ setShaderProgram()
void igor::iShaderMaterial::setShaderProgram |
( |
const iShaderProgramPtr & |
shaderProgram | ) |
|
sets shader program to be used
- Parameters
-
shaderProgram | the shader program to be used |
◆ setVisibility()
sets visibility of material
◆ iRenderer
◆ iShaderMaterialFactory
◆ RENDER_ORDER_DEFAULT
const int32 igor::iShaderMaterial::RENDER_ORDER_DEFAULT = 200 |
|
static |
default render order value
◆ RENDER_ORDER_MAX
const int32 igor::iShaderMaterial::RENDER_ORDER_MAX = 400 |
|
static |
◆ RENDER_ORDER_MIN
const int32 igor::iShaderMaterial::RENDER_ORDER_MIN = 0 |
|
static |
The documentation for this class was generated from the following files: