altEngine
 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
[legend]
Collaboration diagram for Global:
Collaboration graph
[legend]

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 ( )
virtual

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  )
virtual

Implements Shader.

Member Data Documentation

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

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