Stores bump mapping properties. More...
#include <Inventor/elements/SoBumpMappingPropertyElement.h>
Public Types | |
enum | NormalMapSpace { TANGENT_SPACE, MODEL_SPACE } |
enum | TextureFormat { HEIGHT_MAP, NORMAL_MAP } |
Static Public Member Functions | |
static SoType | getClassTypeId () |
static int | getClassStackIndex () |
static void | set (SoState *state, SoNode *node, NormalMapSpace normalMapSpace, SbBool isShadowed, SbBool isEyeDistanceAttenuation, SbBool isOnlyClosestLightUsed, TextureFormat textureFormat) |
static void | get (SoState *state, NormalMapSpace &normalMapSpace, SbBool &isShadowed, SbBool &isEyeDistanceAttenuation, SbBool &isOnlyClosestLightUsed, TextureFormat &textureFormat) |
static void | getDefault (NormalMapSpace &normalMapSpace, SbBool &isShadowed, SbBool &isEyeDistanceAttenuation, SbBool &isOnlyClosestLightUsed, TextureFormat &textureFormat) |
This element stores bump mapping properties.
static void SoBumpMappingPropertyElement::get | ( | SoState * | state, | |
NormalMapSpace & | normalMapSpace, | |||
SbBool & | isShadowed, | |||
SbBool & | isEyeDistanceAttenuation, | |||
SbBool & | isOnlyClosestLightUsed, | |||
TextureFormat & | textureFormat | |||
) | [static] |
Gets the current attributes in the state.
static int SoBumpMappingPropertyElement::getClassStackIndex | ( | ) | [static] |
Returns the stack id for this element.
Reimplemented from SoReplacedElement.
static SoType SoBumpMappingPropertyElement::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoReplacedElement.
static void SoBumpMappingPropertyElement::getDefault | ( | NormalMapSpace & | normalMapSpace, | |
SbBool & | isShadowed, | |||
SbBool & | isEyeDistanceAttenuation, | |||
SbBool & | isOnlyClosestLightUsed, | |||
TextureFormat & | textureFormat | |||
) | [static] |
Returns default values.
static void SoBumpMappingPropertyElement::set | ( | SoState * | state, | |
SoNode * | node, | |||
NormalMapSpace | normalMapSpace, | |||
SbBool | isShadowed, | |||
SbBool | isEyeDistanceAttenuation, | |||
SbBool | isOnlyClosestLightUsed, | |||
TextureFormat | textureFormat | |||
) | [static] |
Sets the current attributes in the state.