#include
<oglplus/uniform_block.hpp>
template <> class ProgVarLocOps<tag::UniformBlock> { public: static GLint GetLocation( ProgramName program, StrCRef identifier, bool active_only ); };
Finds the location of the uniform block specified by |
template <> class ProgVarCommonOps<tag::UniformBlock> : public ProgVarLoc<tag::UniformBlock> { public: static GLuint MaxIn(ShaderType shader_type); Boolean ReferencedBy(ShaderType shader_type) const; GLuint DataSize(void) const; void Binding(UniformBufferBindingPoint binding); };
Returns the maximum number of uniform blocks for a |
|
Returns |
|
Returns the size of the uniform block. See |
|
Sets up the uniform block binding. See |
template <typename T> using Uniform = ProgVar< tag::ImplicitSel, tag::UniformBlock, tag::NoTypecheck, void >;
|