JNGL
Public Member Functions | Static Public Member Functions | List of all members
ShaderProgram::Context Struct Reference

Lifetime object when the ShaderProgram is in use. More...

#include <jngl/ShaderProgram.hpp>

Public Member Functions

 Context (const Impl &)
 
 Context (const Context &)=delete
 
Contextoperator= (const Context &)=delete
 
 Context (Context &&) noexcept
 
Contextoperator= (Context &&)=delete
 

Static Public Member Functions

static void setUniform (int location, float v0, float v1)
 
static void setUniform (int location, float v0, float v1, float v2, float v3)
 

Detailed Description

Lifetime object when the ShaderProgram is in use.

Definition at line 28 of file ShaderProgram.hpp.


The documentation for this struct was generated from the following file: