Pyrogenesis  trunk
Public Member Functions | Public Attributes | List of all members
CShaderProgram::Binding Struct Reference

Represents a uniform attribute or texture binding. More...

#include <ShaderProgram.h>

Public Member Functions

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

Public Attributes

int first
 
int second
 

Detailed Description

Represents a uniform attribute or texture binding.

For uniforms:

Constructor & Destructor Documentation

CShaderProgram::Binding::Binding ( int  a,
int  b 
)
inline
CShaderProgram::Binding::Binding ( )
inline

Member Function Documentation

bool CShaderProgram::Binding::Active ( )
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

int CShaderProgram::Binding::first
int CShaderProgram::Binding::second

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