21 #ifndef FASTUIDRAW_GLUNIFORM_HPP 22 #define FASTUIDRAW_GLUNIFORM_HPP 28 #include <fastuidraw/gl_backend/gluniform_implement.hpp> 63 template<
typename T,
size_t N>
85 template<
typename T,
size_t N>
112 Uniform(location, count, &v[0]);
135 Uniform(location, count, &v[0]);
160 Uniform(location, count, &v[0], transposed);
186 #ifndef __EMSCRIPTEN__ 202 template<
typename T,
size_t N>
223 template<
typename T,
size_t N>
all classes and functions of FastUIDraw are in the namespace fastuidraw.
vecN is a simple static array class with no virtual functions and no memory overhead. Supports runtim array index checking and STL style iterators via pointer iterators.
size_type size(void) const
void Uniform(int location, GLsizei count, const vecN< T, N > &v)
Template version for setting array of uniforms.
void ProgramUniform(GLuint program, int location, GLsizei count, const vecN< T, N > &v)
Template version for setting array of uniforms,.