JNGL
Easy to use cross-platform 2D game library
|
Lifetime object when the ShaderProgram is in use. More...
#include <jngl/ShaderProgram.hpp>
Public Member Functions | |
Context (const Impl &) | |
Context (const Context &)=delete | |
Context & | operator= (const Context &)=delete |
Context (Context &&) noexcept | |
Context & | operator= (Context &&)=delete |
Static Public Member Functions | |
static void | setUniform (int location, int v0) |
Sets the Context's associated ShaderProgram's uniform. | |
static void | setUniform (int location, float v0, float v1) |
static void | setUniform (int location, float v0, float v1, float v2, float v3) |
Lifetime object when the ShaderProgram is in use.
Definition at line 28 of file ShaderProgram.hpp.
|
static |
Sets the Context's associated ShaderProgram's uniform.
location | see ShaderProgram::getUniformLocation(const std::string&) |