Vis 2 Demo  1.0
Technical illustration type real-time rendering of geometry
 All Classes Namespaces Files Functions Variables Typedefs Macros
Classes | Namespaces | Macros
ShaderController.h File Reference

Go to the source code of this file.

Classes

class  vis2::ShaderController
 This class manages the transport of information from the application to the shader program. More...
 

Namespaces

namespace  vis2
 

Macros

#define VIS2_MAX_NR_SHADER_TYPES   20
 
#define VIS2_SHADER_TYPE_BASIC   0
 
#define VIS2_SHADER_TYPE_BASIC_TEXTURED   1
 
#define VIS2_SHADER_TYPE_SOLID_COLOR   2
 
#define VIS2_SHADER_TYPE_PHONG_TEXTURED   3
 
#define VIS2_SHADER_TYPE_EDGE_DETECT_H   4
 
#define VIS2_SHADER_TYPE_EDGE_DETECT_V   5
 
#define VIS2_SHADER_TYPE_BLUR_H   6
 
#define VIS2_SHADER_TYPE_BLUR_V   7
 
#define VIS2_SHADER_TYPE_MASK   8
 
#define VIS2_SHADER_TYPE_DEPTH_PEEL   9
 
#define VIS2_SHADER_TYPE_DEPTH_PEEL_BLEND   10
 
#define VIS2_SHADER_TYPE_COMPLEX_BLEND   11
 
#define VIS2_SHADER_INVARS_SETUP_SUCCESS   0
 
#define VIS2_SHADER_INVARS_SETUP_INCOMPLETE   1
 
#define VIS2_SHADER_INVARS_SETUP_FAIL   -1
 
#define VIS2_SHADER_UNIFORMS_SETUP_SUCCESS   0
 
#define VIS2_SHADER_UNIFORMS_SETUP_INCOMPLETE   1
 
#define VIS2_SHADER_UNIFORMS_SETUP_FAIL   -1
 
#define VIS2_NR_TEXTURE_SLOTS   5
 
#define VIS2_TEXTURE_DIFFUSE_SLOT   0
 
#define VIS2_TEXTURE_1   1
 
#define VIS2_TEXTURE_2   2
 
#define VIS2_TEXTURE_3   3
 
#define VIS2_TEXTURE_4   4
 
#define VIS2_LIGHT_0   0
 
#define VIS2_LIGHT_1   1
 

Macro Definition Documentation

#define VIS2_LIGHT_0   0

Definition at line 47 of file ShaderController.h.

#define VIS2_LIGHT_1   1

Definition at line 48 of file ShaderController.h.

#define VIS2_MAX_NR_SHADER_TYPES   20

Definition at line 12 of file ShaderController.h.

#define VIS2_NR_TEXTURE_SLOTS   5

Definition at line 40 of file ShaderController.h.

#define VIS2_SHADER_INVARS_SETUP_FAIL   -1

Definition at line 34 of file ShaderController.h.

#define VIS2_SHADER_INVARS_SETUP_INCOMPLETE   1

Definition at line 33 of file ShaderController.h.

#define VIS2_SHADER_INVARS_SETUP_SUCCESS   0

Definition at line 32 of file ShaderController.h.

#define VIS2_SHADER_TYPE_BASIC   0

Definition at line 14 of file ShaderController.h.

#define VIS2_SHADER_TYPE_BASIC_TEXTURED   1

Definition at line 15 of file ShaderController.h.

#define VIS2_SHADER_TYPE_BLUR_H   6

Definition at line 22 of file ShaderController.h.

#define VIS2_SHADER_TYPE_BLUR_V   7

Definition at line 23 of file ShaderController.h.

#define VIS2_SHADER_TYPE_COMPLEX_BLEND   11

Definition at line 29 of file ShaderController.h.

#define VIS2_SHADER_TYPE_DEPTH_PEEL   9

Definition at line 27 of file ShaderController.h.

#define VIS2_SHADER_TYPE_DEPTH_PEEL_BLEND   10

Definition at line 28 of file ShaderController.h.

#define VIS2_SHADER_TYPE_EDGE_DETECT_H   4

Definition at line 19 of file ShaderController.h.

#define VIS2_SHADER_TYPE_EDGE_DETECT_V   5

Definition at line 20 of file ShaderController.h.

#define VIS2_SHADER_TYPE_MASK   8

Definition at line 25 of file ShaderController.h.

#define VIS2_SHADER_TYPE_PHONG_TEXTURED   3

Definition at line 17 of file ShaderController.h.

#define VIS2_SHADER_TYPE_SOLID_COLOR   2

Definition at line 16 of file ShaderController.h.

#define VIS2_SHADER_UNIFORMS_SETUP_FAIL   -1

Definition at line 38 of file ShaderController.h.

#define VIS2_SHADER_UNIFORMS_SETUP_INCOMPLETE   1

Definition at line 37 of file ShaderController.h.

#define VIS2_SHADER_UNIFORMS_SETUP_SUCCESS   0

Definition at line 36 of file ShaderController.h.

#define VIS2_TEXTURE_1   1

Definition at line 42 of file ShaderController.h.

#define VIS2_TEXTURE_2   2

Definition at line 43 of file ShaderController.h.

#define VIS2_TEXTURE_3   3

Definition at line 44 of file ShaderController.h.

#define VIS2_TEXTURE_4   4

Definition at line 45 of file ShaderController.h.

#define VIS2_TEXTURE_DIFFUSE_SLOT   0

Definition at line 41 of file ShaderController.h.