Wrapper around an OpenGL vertex shader: a program executed on the GPU that computes per-vertex stuff.
More...
#include <GLUtil.hh>
|
| VertexShader (const std::string &filename) |
| Instantiates a vertex shader. More...
|
|
| VertexShader (const std::string &header, const std::string &filename) |
|
bool | isOK () const |
| Returns true iff this shader is loaded and compiled without errors. More...
|
|
|
| Shader (GLenum type, const std::string &filename) |
| Instantiates a shader. More...
|
|
| Shader (GLenum type, const std::string &header, const std::string &filename) |
|
| ~Shader () |
|
Wrapper around an OpenGL vertex shader: a program executed on the GPU that computes per-vertex stuff.
Definition at line 413 of file GLUtil.hh.
openmsx::VertexShader::VertexShader |
( |
const std::string & |
filename | ) |
|
|
explicit |
Instantiates a vertex shader.
- Parameters
-
filename | The GLSL source code for the shader. |
Definition at line 285 of file GLUtil.cc.
openmsx::VertexShader::VertexShader |
( |
const std::string & |
header, |
|
|
const std::string & |
filename |
|
) |
| |
The documentation for this class was generated from the following files: