Program variable (vertex attrib / uniform ) wrapper. More...
#include </home/chochlik/devel/oglplus/include/oglplus/prog_var/wrapper.hpp>
Inherits oglplus::ProgVarGetSetOps< OpsTag, VarTag, T >, and oglplus::ProgVarTypecheck< ChkTag, VarTag >.
Inherited by oglplus::OptionalImpl< tag::ProgVar, ProgVar >.
Public Types | |
|
typedef AdjustProgVar< T > ::ValueType | ParamType |
| Parameter value type. | |
Public Member Functions | |
| ProgVar (void) | |
| Default construction. | |
| ProgVar (ProgVarLoc< VarTag > pvloc) | |
| Variable from a ProgVarLoc. | |
| ProgVar (ProgramName program, GLuint location) | |
Variable with the specified location in the specified program. | |
| ProgVar (ProgramName program, StrCRef identifier) | |
Variable with the specified identifier in the specified program. | |
| ProgVar (ProgramName program, StrCRef identifier, bool active_only) | |
Variable with the specified identifier in the specified program. | |
| ProgVar (ProgramName program, StrCRef identifier, std::nothrow_t) | |
Variable with the specified identifier in the specified program. | |
| void | Set (ParamType value) |
| Set the variable value. | |
| void | Set (std::size_t count, const T *values) |
| Set multiple values. | |
| void | TrySet (ParamType value) |
| Sets the variable value if it is active. | |
| ProgVar & | operator= (ParamType value) |
| Sets the variable value. | |
Program variable (vertex attrib / uniform ) wrapper.