38 virtual void draw(
int lod );
diguyGraphicsShape * diguyOglGraphicsShape_create_func(void *internal_data)
Create function declaration.
Definition: diguyOglGraphicsShape.cpp:396
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:97
virtual void show()
This function will be called by DI-Guy when the shape should be shown, typically due to a change in t...
Definition: diguyOglGraphicsShape.h:45
static void create_shared_variation_texture()
Definition: diguyOglGraphicsShape.cpp:206
virtual void update_name_texture()
creates a decal texture with a name (accessed by get_decal_text()) see sample implementation for a re...
Definition: diguyOglGraphicsShape.cpp:303
static GLuint get_shared_variation_texture()
Definition: diguyOglGraphicsShape.h:47
void create_name_texture()
Definition: diguyOglGraphicsShape.cpp:308
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:242
This class is part of the DI-Guy Graphics API.
Definition: diguyOglGraphicsShape.h:28
A class that represents the unique per-character non-shared mesh object. DI-Guy encapsulates its text...
Definition: diguyGraphicsShape.h:51
bool m_name_texture_needs_update
Definition: diguyOglGraphicsShape.h:58
virtual void hide()
This function will be called by DI-Guy when the shape should be hidden, typically due to a change in ...
Definition: diguyOglGraphicsShape.h:44
static GLuint sm_variation_texture_object
Definition: diguyOglGraphicsShape.h:56
diguyOglGraphicsShape(void *internal_data)
Definition: diguyOglGraphicsShape.cpp:40
virtual GLuint get_name_texture()
Definition: diguyOglGraphicsShape.h:42
GLuint m_name_texture_object
Definition: diguyOglGraphicsShape.h:57
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:74
virtual ~diguyOglGraphicsShape()
Definition: diguyOglGraphicsShape.cpp:57
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:124