Valkka  1.6.1
OpenSource Video Management
Public Member Functions | Protected Member Functions | List of all members
RGBShader Class Reference
Inheritance diagram for RGBShader:
Inheritance graph
[legend]
Collaboration diagram for RGBShader:
Collaboration graph
[legend]

Public Member Functions

 ban_copy_ctor (RGBShader)
 
 ban_copy_asm (RGBShader)
 
- Public Member Functions inherited from Shader
 Shader ()
 Default constructor. More...
 
virtual ~Shader ()
 Default destructor.
 
 ban_copy_ctor (Shader)
 
 ban_copy_asm (Shader)
 
void compile ()
 Compile shader.
 
virtual void findVars ()
 Link shader program variable references to the shader program.
 
void scale (GLfloat fx, GLfloat fy)
 Set transformation matrix to simple scaling.
 
void use ()
 Use shader program for bitmap rendering.
 
void use_obj ()
 Use shader program for overlay object drawing.
 
void validate ()
 Validate shader program.
 

Protected Member Functions

const char * vertex_shader ()
 
const char * fragment_shader ()
 
- Protected Member Functions inherited from Shader
const char * vertex_shader_obj ()
 
const char * fragment_shader_obj ()
 

Additional Inherited Members

- Public Attributes inherited from Shader
GLint transform
 OpenGL VERTEX SHADER PROGRAM VAR : transformation matrix.
 
GLint transform_obj
 OpenGL VERTEX SHADER PROGRAM VAR : transformation matrix. For the object overlay shader program.
 
GLint position
 OpenGL VERTEX SHADER PROGRAM VAR : position vertex array. Typically "hard-coded" into the shader code with (location=0)
 
GLint texcoord
 OpenGL VERTEX SHADER PROGRAM VAR : texture coordinate array. Typically "hard-coded" into the shader code with (location=1)
 
GLint object
 
- Protected Attributes inherited from Shader
GLuint program
 OpenGL reference to vertex & fragment shader program for rendering bitmap.
 
GLuint program_obj
 OpenGL reference to vertex & fragment shader program for rendering overlay objects.
 

The documentation for this class was generated from the following files: