Specialization of ProgVar for subroutine uniformss. More...
#include </home/chochlik/devel/oglplus/include/oglplus/uniform_subroutines.hpp>
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 . | |
ProgVarLoc & | Assign (ProgVarLoc that) |
Copy assignment. | |
ProgVarLoc & | BindTo (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. | |
Specialization of ProgVar for subroutine uniformss.