OGLplus (0.52.0) a C++ wrapper for OpenGL

oglplus::ProgVar< tag::ImplicitSel, tag::SubroutineUniform, tag::NoTypecheck, void > Class Template Reference

Specialization of ProgVar for subroutine uniformss. More...

#include </home/chochlik/devel/oglplus/include/oglplus/uniform_subroutines.hpp>

Inheritance diagram for oglplus::ProgVar< tag::ImplicitSel, tag::SubroutineUniform, tag::NoTypecheck, void >:
Collaboration diagram for oglplus::ProgVar< tag::ImplicitSel, tag::SubroutineUniform, tag::NoTypecheck, void >:

Public Member Functions

 ProgVar (SubroutineUniformLoc pvloc)
 Subroutine uniform with the specified location.
 
 ProgVar (ProgramName program, ShaderType stage, StrCRef identifier)
 Sub.uniform with the specified identifier in stage of program.
 
 ProgVar (ProgramName program, ShaderType stage, StrCRef identifier, bool active_only)
 Sub.uniform with the specified identifier in stage of program.
 
ProgVarLocAssign (ProgVarLoc that)
 Copy assignment.
 
ProgVarLocBindTo (StrCRef identifier, bool is_active=true)
 Late initialization of the variable location from its identifier.
 
ProgramName Program (void) const
 The program the variable belongs to.
 
GLint Location (void) const
 Returns the location of the variable.
 
bool IsActive (void) const
 Returns true if the variable is active.
 
OGLPLUS_EXPLICIT operator bool (void) const
 Returns true if the variable is active.
 

Detailed Description

template<>
class oglplus::ProgVar< tag::ImplicitSel, tag::SubroutineUniform, tag::NoTypecheck, void >

Specialization of ProgVar for subroutine uniformss.


The documentation for this class was generated from the following file:

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