A standalone program with a single shader of a specified type from GLSL source.
More...
#include </home/chochlik/devel/oglplus/include/oglplus/program.hpp>
Inherits oglplus::Object< ObjectOps >.
|
| ShaderProgram (ShaderType shader_type, GLSLString &&source) |
| Creates a program with a single shader with specified type and source. More...
|
|
| ShaderProgram (ShaderType shader_type, GLSLString &&source, ObjectDesc &&object_desc) |
| Creates a program with a single shader with specified type and source. More...
|
|
| ShaderProgram (ShaderType shader_type, GLSLStrings &&source) |
| Creates a program with a single shader with specified type and source. More...
|
|
| ShaderProgram (ShaderType shader_type, GLSLStrings &&source, ObjectDesc &&object_desc) |
| Creates a program with a single shader with specified type and source. More...
|
|
| ShaderProgram (ShaderType shader_type, const GLSLSource &glsl_source) |
| Creates a program with a single shader with specified type and source. More...
|
|
| ShaderProgram (ShaderType shader_type, const GLSLSource &glsl_source, ObjectDesc &&object_desc) |
| Creates a single shader program with specified type, source and desc. More...
|
|
A standalone program with a single shader of a specified type from GLSL source.
- Related OpenGL symbols:
- glCreateShaderProgram
- See Also
- Program
Creates a program with a single shader with specified type and source.
- Exceptions
-
oglplus::ShaderProgram::ShaderProgram |
( |
ShaderType |
shader_type, |
|
|
GLSLString && |
source, |
|
|
ObjectDesc && |
object_desc |
|
) |
| |
Creates a program with a single shader with specified type and source.
- Exceptions
-
Creates a program with a single shader with specified type and source.
- Exceptions
-
oglplus::ShaderProgram::ShaderProgram |
( |
ShaderType |
shader_type, |
|
|
GLSLStrings && |
source, |
|
|
ObjectDesc && |
object_desc |
|
) |
| |
Creates a program with a single shader with specified type and source.
- Exceptions
-
Creates a program with a single shader with specified type and source.
- Exceptions
-
oglplus::ShaderProgram::ShaderProgram |
( |
ShaderType |
shader_type, |
|
|
const GLSLSource & |
glsl_source, |
|
|
ObjectDesc && |
object_desc |
|
) |
| |
Creates a single shader program with specified type, source and desc.
- Exceptions
-
The documentation for this class was generated from the following file:
- /home/chochlik/devel/oglplus/include/oglplus/program.hpp