Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
Renderer::Backend::GL::anonymous_namespace{ShaderProgram.cpp}::Binding Struct Reference

Public Member Functions

 Binding (int a, int b)
 
 Binding ()
 
bool Active () const
 Returns whether this uniform attribute is active in the shader. More...
 

Public Attributes

int first
 
int second
 

Constructor & Destructor Documentation

◆ Binding() [1/2]

Renderer::Backend::GL::anonymous_namespace{ShaderProgram.cpp}::Binding::Binding ( int  a,
int  b 
)
inline

◆ Binding() [2/2]

Renderer::Backend::GL::anonymous_namespace{ShaderProgram.cpp}::Binding::Binding ( )
inline

Member Function Documentation

◆ Active()

bool Renderer::Backend::GL::anonymous_namespace{ShaderProgram.cpp}::Binding::Active ( ) const
inline

Returns whether this uniform attribute is active in the shader.

If not then there's no point calling Uniform() to set its value.

Member Data Documentation

◆ first

int Renderer::Backend::GL::anonymous_namespace{ShaderProgram.cpp}::Binding::first

◆ second

int Renderer::Backend::GL::anonymous_namespace{ShaderProgram.cpp}::Binding::second

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