|
Ult3D
Implementation of "Ultimate 3D Game Engine Design & Architecture" by Allan Sherrod
|
#include <MultiTexShader.h>
Public Member Functions | |
| MultiTexShader (const char *vs, const char *ps, const char *decalFile1, const char *decalFile2, std::vector< FilterType > *filters, RenderInterface *renderer) | |
| ~MultiTexShader () | |
| void | ApplyEffect () |
| void | Release () |
Public Member Functions inherited from Ult::Effect | |
| Effect () | |
| virtual | ~Effect () |
Protected Attributes | |
| ShaderHandle | mShader |
| ParameterHandle | mMvpParam |
| ParameterHandle | mDecalParam1 |
| ParameterHandle | mDecalParam2 |
| Texture | mDecalTexture1 |
| Texture | mDecalTexture2 |
| RenderInterface * | mRenderer |
Represents a 3d shader that uses 2 textures.
|
inline |
MultiTexShader constructor. Loads the shader and two textures from the input filenames and applies the input filters to the textures.
|
inline |
MultiTexShader destructor.
|
inlinevirtual |
Make the renderer use this shader and textures in slots 1 and 2.
Implements Ult::Effect.
|
inlinevirtual |
Free the loaded textures.
Reimplemented from Ult::Effect.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |