Neo
0.5.0
Developer Documentation
|
The texture pass class implements some basic primitives to manage and use multi-texture materials. More...
#include <Material.h>
Public Member Functions | |
TexturePass (Texture *texture, TEX_COMBINE_MODES combineMode, unsigned int mapChannel) | |
TexturePass (const TexturePass &texturePass) | |
void | setMapChannel (unsigned int mapChannel) |
Sets the map channel. More... | |
void | setTexture (Texture *texture) |
Sets the texture to use. More... | |
unsigned int | getMapChannel (void) |
Returns the map channel. More... | |
Texture * | getTexture (void) |
Returns the texture that is used. More... | |
void | setCombineMode (TEX_COMBINE_MODES combineMode) |
Sets the combine mode when using multiple passes for one material. More... | |
TEX_COMBINE_MODES | getCombineMode (void) |
Returns the combine mode. More... | |
The texture pass class implements some basic primitives to manage and use multi-texture materials.
Examples for texture passes are the diffuse texture, normal map and specular map.
|
inline |
|
inline |
|
inline |
|
inline |
Returns the map channel.
|
inline |
Returns the texture that is used.
|
inline |
Sets the combine mode when using multiple passes for one material.
combineMode | The combine mode. |
|
inline |
Sets the map channel.
mapChannel | The new map channel. |
|
inline |
Sets the texture to use.
texture | The texture. |