All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | List of all members
Global Class Reference

#include <shader.h>

Inheritance diagram for Global:
Inheritance graph
Collaboration diagram for Global:
Collaboration graph

Public Member Functions

int init (Graphics *gfx)
void Params (matrix4 &mvp, int depth=0)
virtual void prelink (void)
virtual ~Global ()
- Public Member Functions inherited from Shader
 Shader ()
int init (Graphics *gfx, char *vertex_file, char *geometry_file, char *fragment_file)
virtual void Select ()
void destroy ()
virtual ~Shader ()

Private Attributes

int matrix
int texture0
int u_depth

Additional Inherited Members

- Protected Attributes inherited from Shader
const char * vertex_src
const char * geometry_src
const char * fragment_src
int program_handle
int vertex_handle
int geometry_handle
int fragment_handle

Constructor & Destructor Documentation

virtual Global::~Global ( )

Member Function Documentation

int Global::init ( Graphics gfx)

Here is the caller graph for this function:

void Global::Params ( matrix4 mvp,
int  depth = 0 

Here is the caller graph for this function:

virtual void Global::prelink ( void  )

Implements Shader.

Member Data Documentation

int Global::matrix
int Global::texture0
int Global::u_depth

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