36 virtual void build()
override;
37 virtual void unbuild()
override;
38 virtual void draw(
int lod )
override;
42 virtual void hide()
override {}
43 virtual void show()
override {}
static void create_shared_variation_texture()
virtual void hide() override
This function will be called by DI-Guy when the shape should be hidden, typically due to a change in ...
Definition: diguyOglGraphicsShape.h:42
virtual void unbuild() override
This function will be called by DI-Guy when it is time for the renderer-specific shape objects create...
diguyGraphicsShape * diguyOglGraphicsShape_create_func(void *internal_data)
Create function declaration.
GLuint get_name_texture()
Definition: diguyOglGraphicsShape.h:45
virtual void update_name_texture() override
creates a decal texture with a name (accessed by get_decal_text()) see sample implementation for a re...
virtual ~diguyOglGraphicsShape()
static GLuint get_shared_variation_texture()
Definition: diguyOglGraphicsShape.h:47
virtual void build() override
This function will be called by DI-Guy when it is time for renderer-specific shape objects to be crea...
void create_name_texture()
This class is part of the DI-Guy Graphics API.
Definition: diguyOglGraphicsShape.h:28
virtual void show() override
This function will be called by DI-Guy when the shape should be shown, typically due to a change in t...
Definition: diguyOglGraphicsShape.h:43
A class that represents the unique per-character non-shared mesh object. DI-Guy encapsulates its text...
Definition: diguyGraphicsShape.h:49
bool m_name_texture_needs_update
Definition: diguyOglGraphicsShape.h:58
virtual void draw(int lod) override
This function will be called by DI-Guy when it is time for the geometry of this shape to be drawn...
static GLuint sm_variation_texture_object
Definition: diguyOglGraphicsShape.h:56
diguyOglGraphicsShape(void *internal_data)
GLuint m_name_texture_object
Definition: diguyOglGraphicsShape.h:57
virtual void update_variation_texture(int num_pixels, unsigned char *pixel_data) override
Pushes a char * pixel buffer of length num_pixels that represents the unique per shape texture...