OGLplus (0.52.0) a C++ wrapper for OpenGL

oglplus::ProgVar< OpsTag, VarTag, ChkTag, T > Class Template Reference

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.
 
ProgVaroperator= (ParamType value)
 Sets the variable value.
 

Detailed Description

template<typename OpsTag, typename VarTag, typename ChkTag, typename T>
class oglplus::ProgVar< OpsTag, VarTag, ChkTag, T >

Program variable (vertex attrib / uniform ) wrapper.


The documentation for this class was generated from the following files:
  • /home/chochlik/devel/oglplus/include/oglplus/fwd.hpp
  • /home/chochlik/devel/oglplus/include/oglplus/prog_var/wrapper.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).