DI-Guy SDK Documentation  13.1
diguyOglGraphicsShape.h
Go to the documentation of this file.
1 #ifndef __diguyOglGraphicsShape_H
2 #define __diguyOglGraphicsShape_H
3 
4 
5 #include <diguyGraphicsShape.h>
6 #include "ogl_headers.h"
7 
8 
9 /*****************************************************************************
10  **
11  *2 diguyOglGraphicsShape
12  **
13  ** This class is part of the DI-Guy Graphics API. It overrides the class
14  ** diguyGraphicsShape. Detailed documentation is in the implementation
15  ** file documentation <a href="diguyOglGraphicsShape.cpp.html">here</a>.
16  */
18 {
19 
20 public:
21 
22  diguyOglGraphicsShape(void* internal_data);
23 
24  virtual void build();
25  virtual void unbuild();
26  virtual void draw(int lod);
27  virtual void update_variation_texture(int num_pixels, unsigned char * pixel_data);
28 
29 
30 protected:
31 
33 
39 
40 };
41 
42 
48 
49 #endif
virtual void unbuild()
This function will be called by DI-Guy when it is time for the renderer-specific shape objects create...
Definition: diguyOglGraphicsShape.cpp:92
diguyGraphicsShape * diguyOglGraphicsShape_create_func(void *internal_data)
Create function declaration.
Definition: diguyOglGraphicsShape.cpp:226
GLuint m_unique_texture_object
Variable containing data generated during the Build Stage.
Definition: diguyOglGraphicsShape.h:35
virtual void update_variation_texture(int num_pixels, unsigned char *pixel_data)
Pushes a char * pixel buffer of length num_pixels that represents the unique per shape texture...
Definition: diguyOglGraphicsShape.cpp:173
Definition: diguyOglGraphicsShape.h:16
A class that represents the unique per-character non-shared mesh object. DI-Guy encapsulates its text...
Definition: diguyGraphicsShape.h:53
diguyOglGraphicsShape(void *internal_data)
Definition: diguyOglGraphicsShape.cpp:44
void create_default_variation_texture()
Definition: diguyOglGraphicsShape.cpp:196
virtual void build()
This function will be called by DI-Guy when it is time for renderer-specific shape objects to be crea...
Definition: diguyOglGraphicsShape.cpp:69
virtual void draw(int lod)
This function will be called by DI-Guy when it is time for the geometry of this shape to be drawn...
Definition: diguyOglGraphicsShape.cpp:125
static GLuint sm_default_variation_texture_object
4 Header files and forward declarations
Definition: diguyOglGraphicsShape.h:36