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

Public Member Functions

 ban_copy_ctor (YUVShader)
 
 ban_copy_asm (YUVShader)
 
void findVars ()
 Link shader program variable references to the shader program.
 
- 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.
 
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.
 

Public Attributes

GLint texy
 OpenGL VERTEX SHADER PROGRAM VAR : Y texture.
 
GLint texu
 OpenGL VERTEX SHADER PROGRAM VAR : U texture.
 
GLint texv
 OpenGL VERTEX SHADER PROGRAM VAR : V texture.
 
- 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 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

- 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: