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

#include <shader.h>

Inheritance diagram for ParticleRender:
Inheritance graph
Collaboration diagram for ParticleRender:
Collaboration graph

Public Member Functions

int init (Graphics *gfx)
void Params (matrix4 &mvp, vec3 &quad1, vec3 &quad2, float x, float y, float z)
void render (Graphics &gfx, int start, int vbo, int num)
virtual void prelink (void)
- 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 ()

Public Attributes

int ibo

Private Attributes

int u_mvp
int u_quad1
int u_quad2
int u_texture0
int u_xshift
int u_yshift
int u_zshift

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

Member Function Documentation

int ParticleRender::init ( Graphics gfx)

Here is the caller graph for this function:

void ParticleRender::Params ( matrix4 mvp,
vec3 quad1,
vec3 quad2,
float  x,
float  y,
float  z 

Here is the caller graph for this function:

virtual void ParticleRender::prelink ( void  )

Implements Shader.

void ParticleRender::render ( Graphics gfx,
int  start,
int  vbo,
int  num 

Here is the caller graph for this function:

Member Data Documentation

int ParticleRender::ibo
int ParticleRender::u_mvp
int ParticleRender::u_quad1
int ParticleRender::u_quad2
int ParticleRender::u_texture0
int ParticleRender::u_xshift
int ParticleRender::u_yshift
int ParticleRender::u_zshift

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