ShaderComposer.cpp File Reference

#include "MercuryString.h"
#include "ShaderComposer.h"

Go to the source code of this file.

Functions

unsigned int ShaderDescription (bool ambient, bool diffuse, bool specular, bool color, bool transparent, bool texture, bool detailTex, bool normalMap, bool cellShade)
bool isShaderAmbient (unsigned int shaderDescription)
bool isShaderDiffuse (unsigned int shaderDescription)
bool isShaderSpecular (unsigned int shaderDescription)
bool isShaderColor (unsigned int shaderDescription)
bool isShaderTransparent (unsigned int shaderDescription)
bool isShaderTexture (unsigned int shaderDescription)
bool isShaderDetailTexture (unsigned int shaderDescription)
bool isShaderNormalMap (unsigned int shaderDescription)
bool isShaderCellShade (unsigned int shaderDescription)
MString ComposerGLSLangVertexshader (unsigned int shaderDescription)
MString ComposeGLSLangVertexshader (unsigned int shaderDescription)
MString ComposeGLSLangPixelshader (unsigned int shaderDescription)


Function Documentation

MString ComposeGLSLangPixelshader ( unsigned int  shaderDescription  ) 

Definition at line 159 of file ShaderComposer.cpp.

MString ComposeGLSLangVertexshader ( unsigned int  shaderDescription  ) 

Definition at line 68 of file ShaderComposer.cpp.

MString ComposerGLSLangVertexshader ( unsigned int  shaderDescription  ) 

Definition at line 63 of file ShaderComposer.cpp.

bool isShaderAmbient ( unsigned int  shaderDescription  ) 

Definition at line 18 of file ShaderComposer.cpp.

bool isShaderCellShade ( unsigned int  shaderDescription  ) 

Definition at line 58 of file ShaderComposer.cpp.

bool isShaderColor ( unsigned int  shaderDescription  ) 

Definition at line 33 of file ShaderComposer.cpp.

bool isShaderDetailTexture ( unsigned int  shaderDescription  ) 

Definition at line 48 of file ShaderComposer.cpp.

bool isShaderDiffuse ( unsigned int  shaderDescription  ) 

Definition at line 23 of file ShaderComposer.cpp.

bool isShaderNormalMap ( unsigned int  shaderDescription  ) 

Definition at line 53 of file ShaderComposer.cpp.

bool isShaderSpecular ( unsigned int  shaderDescription  ) 

Definition at line 28 of file ShaderComposer.cpp.

bool isShaderTexture ( unsigned int  shaderDescription  ) 

Definition at line 43 of file ShaderComposer.cpp.

bool isShaderTransparent ( unsigned int  shaderDescription  ) 

Definition at line 38 of file ShaderComposer.cpp.

unsigned int ShaderDescription ( bool  ambient,
bool  diffuse,
bool  specular,
bool  color,
bool  transparent,
bool  texture,
bool  detailTex,
bool  normalMap,
bool  cellShade 
)

Definition at line 5 of file ShaderComposer.cpp.


Hosted by SourceForge.net Logo