|
vdr-plugin-softhddevice-drm-gles 1.6.2
|
Vertex/Fragment Shader. More...
#include <openglosd.h>
Public Member Functions | |
| cOglShader (void) | |
| bool | Load (eShaderType) |
| void | Use (void) |
| void | SetFloat (const GLchar *, GLfloat) |
| void | SetInteger (const GLchar *, GLint) |
| void | SetVector2f (const GLchar *, GLfloat, GLfloat) |
| void | SetVector3f (const GLchar *, GLfloat, GLfloat, GLfloat) |
| void | SetVector4f (const GLchar *, GLfloat, GLfloat, GLfloat, GLfloat) |
| void | SetMatrix4 (const GLchar *, const glm::mat4 &) |
Private Member Functions | |
| bool | Compile (const char *, const char *) |
| bool | CheckCompileErrors (GLuint, bool program=false) |
Private Attributes | |
| eShaderType | m_type |
| GLuint | m_id |
Vertex/Fragment Shader.
Represents a shader and keeps everything we need to set variable within the shader
Definition at line 74 of file openglosd.h.
|
inline |
Definition at line 76 of file openglosd.h.
|
private |
Definition at line 89 of file openglosd.h.
Referenced by Compile(), SetFloat(), SetInteger(), SetMatrix4(), SetVector2f(), SetVector3f(), SetVector4f(), and Use().
|
private |
Definition at line 88 of file openglosd.h.
Referenced by CheckCompileErrors(), and Load().