#include <MultiTexture.h>
Inheritance diagram for H3D::MultiTexture:

Public Types | |
|
typedef DependentMFNode< X3DTextureNode, FieldRef< H3DDisplayListObject, H3DDisplayListObject::DisplayList, &H3DDisplayListObject::displayList >, true > | MFTexture |
| An MFNode where we make sure the type of the nodes contained is a subclass of X3DTextureNode. | |
Public Member Functions | |
| MultiTexture (Inst< DisplayList > _displayList=0, Inst< SFFloat > _alpha=0, Inst< SFColor > _color=0, Inst< MFString > _function=0, Inst< SFNode > _metadata=0, Inst< MFString > _mode=0, Inst< MFString > _source=0, Inst< MFTexture > _texture=0) | |
| Constructor. | |
| virtual void | render () |
| Install the textures in OpenGL. | |
| virtual void | enableTexturing () |
| Enable texturing for all textures in the MultiTexture. | |
| virtual void | disableTexturing () |
| Disable texturing for all textures in the MultiTexture. | |
Public Attributes | |
| auto_ptr< SFFloat > | alpha |
| Base alpha value for SELECT mode operations. | |
| auto_ptr< SFColor > | color |
| Base alpha value for SELECT mode operations. | |
| auto_ptr< MFString > | function |
| The function field defines an optional function to be applied to the argument after the mode has been evaluated. | |
| auto_ptr< MFString > | mode |
| The mode field controls the type of blending operation. | |
| auto_ptr< MFString > | source |
| The source field determines the colour source for the second argument. | |
| auto_ptr< MFTexture > | texture |
| The texture field contains a list of X3DTextureNode instances (e.g., ImageTexture, PixelTexture and MultiTexture). | |
Static Public Attributes | |
| static H3DNodeDatabase | database |
| The H3DNodeDatabase for this node. | |
MultiTexture enables the application of several individual textures to a 3D object to achieve a more complex visual effect. MultiTexture can be used as a value for the texture field in an Appearance node. The texture field contains a list of texture nodes (e.g., ImageTexture, PixelTexture, MovieTexture, and MultiTexture). The texture field may not contain another MultiTexture node.
|
|
Base alpha value for SELECT mode operations.
Access type: inputOutput |
|
|
Base alpha value for SELECT mode operations.
Access type: inputOutput |
|
|
The function field defines an optional function to be applied to the argument after the mode has been evaluated. This is not supported at this time.
Access type: inputOutput |
|
|
The mode field controls the type of blending operation. The only available mode at this time is "MODULATE".
Access type: inputOutput |
|
|
The source field determines the colour source for the second argument. This is not supported at this time.
Access type: inputOutput |
|
|
The texture field contains a list of X3DTextureNode instances (e.g., ImageTexture, PixelTexture and MultiTexture). The texture field may not contain another MultiTexture node.
Access type: inputOutput |
1.4.5