OGLplus (0.52.0) a C++ wrapper for OpenGL

oglplus::ShaderProgram Class Reference

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

Public Member Functions

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

Detailed Description

A standalone program with a single shader of a specified type from GLSL source.

Related OpenGL symbols:
glCreateShaderProgram
See Also
Program

Constructor & Destructor Documentation

oglplus::ShaderProgram::ShaderProgram ( ShaderType  shader_type,
GLSLString &&  source 
)

Creates a program with a single shader with specified type and source.

Exceptions
ValidationError
oglplus::ShaderProgram::ShaderProgram ( ShaderType  shader_type,
GLSLString &&  source,
ObjectDesc &&  object_desc 
)

Creates a program with a single shader with specified type and source.

Exceptions
ValidationError
oglplus::ShaderProgram::ShaderProgram ( ShaderType  shader_type,
GLSLStrings &&  source 
)

Creates a program with a single shader with specified type and source.

Exceptions
ValidationError
oglplus::ShaderProgram::ShaderProgram ( ShaderType  shader_type,
GLSLStrings &&  source,
ObjectDesc &&  object_desc 
)

Creates a program with a single shader with specified type and source.

Exceptions
ValidationError
oglplus::ShaderProgram::ShaderProgram ( ShaderType  shader_type,
const GLSLSource glsl_source 
)

Creates a program with a single shader with specified type and source.

Exceptions
ValidationError
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
ValidationError

The documentation for this class was generated from the following file:
  • /home/chochlik/devel/oglplus/include/oglplus/program.hpp

Copyright © 2010-2014 Matúš Chochlík, University of Žilina, Žilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Mon Sep 22 2014 by Doxygen (version 1.8.6).