Implements an OpenGL shader primitive. More...
Go to the source code of this file.
Classes | |
class | chai3d::cShader |
This class implements a shader primitive. More... | |
Namespaces | |
chai3d | |
Macros | |
#define | C_VB_INDEX_BUFFER 0 |
#define | C_VB_POSITION 1 |
#define | C_VB_NORMAL 2 |
#define | C_VB_TEXCOORD 3 |
#define | C_VB_COLOR 4 |
#define | C_VB_TANGENT 5 |
#define | C_VB_BITANGENT 6 |
#define | C_TU_TEXTURE 0 |
#define | C_TU_SHADOWMAP 1 |
#define | C_TU_NORMALMAP 2 |
#define | C_TU_SPECULARMAP 3 |
#define | C_TU_IMAGEBUFFER 2 |
#define | C_TU_DEPTHBUFFER 3 |
#define | C_TU_IBL_ENVIRONMENT 4 |
#define | C_TU_IBL_FILTERED 5 |
#define | C_TU_IBL_BRDF 6 |
#define | C_TU_UNALLOCATED 7 |
Typedefs | |
typedef std::shared_ptr< cShader > | chai3d::cShaderPtr |
Enumerations | |
enum | chai3d::cShaderType { chai3d::C_VERTEX_SHADER = 0x0001, chai3d::C_FRAGMENT_SHADER = 0x0002, chai3d::C_GEOMETRY_SHADER = 0X0003 } |
#define C_VB_INDEX_BUFFER 0 |
#define C_VB_POSITION 1 |
#define C_VB_NORMAL 2 |
#define C_VB_TEXCOORD 3 |
#define C_VB_COLOR 4 |
#define C_VB_TANGENT 5 |
#define C_VB_BITANGENT 6 |
#define C_TU_TEXTURE 0 |
#define C_TU_SHADOWMAP 1 |
#define C_TU_NORMALMAP 2 |
#define C_TU_SPECULARMAP 3 |
#define C_TU_IMAGEBUFFER 2 |
#define C_TU_DEPTHBUFFER 3 |
#define C_TU_IBL_ENVIRONMENT 4 |
#define C_TU_IBL_FILTERED 5 |
#define C_TU_IBL_BRDF 6 |
#define C_TU_UNALLOCATED 7 |