An OGLplus object encapsulating OpenGL program pipeline functionality.
More...
#include </home/chochlik/devel/oglplus/include/oglplus/program_pipeline.hpp>
|
static void | Unbind (void) |
| Unbinds the current program pipeline object (if any) More...
|
|
An OGLplus object encapsulating OpenGL program pipeline functionality.
void oglplus::ProgramPipelineOps::ActiveShaderProgram |
( |
const ProgramOps & |
program) | |
const |
|
inherited |
void oglplus::ProgramPipelineOps::Bind |
( |
void |
) | |
const |
|
inherited |
String oglplus::ProgramPipelineOps::GetInfoLog |
( |
void |
) | |
const |
|
inherited |
bool oglplus::ProgramPipelineOps::HasShader |
( |
ShaderType |
shader_type) | |
const |
|
inherited |
Returns true if this pipeline contains a shader of a particular type.
- Related OpenGL symbols:
- glGetProgramPipeline
bool oglplus::ProgramPipelineOps::IsValid |
( |
void |
) | |
const |
|
inherited |
static void oglplus::ProgramPipelineOps::Unbind |
( |
void |
) | |
|
|
staticinherited |
aux::ProgPLUseStages oglplus::ProgramPipelineOps::UseStages |
( |
const ProgramOps & |
program) | |
const |
|
inherited |
Specifies program stages by calling functions of the returned object.
This function returns an object that allows to specify which stages of program
should by used when this pipeline is active by calling the Vertex(), TessControl(), TessEvaluation(), Geometry(), Fragment() and All() member functions of the object returned by UseStages.
example:
...
pp.UseStages(prog).Vertex();
pp.UseStages(prog).Vertex().Geometry();
pp.UseStages(prog).Vertex().TessControl().TessEvaluation().Geometry();
pp.UseStages(prog).Vertex().Geometry().Fragment();
pp.UseStages(prog).Geometry();
pp.UseStages(prog).All();
- Exceptions
-
- Related OpenGL symbols:
- glUseProgramStages
void oglplus::ProgramPipelineOps::Validate |
( |
void |
) | |
const |
|
inherited |
The documentation for this class was generated from the following file: