17 #include "ogl_headers.h"
20 class diguyGraphicsVertexData;
GLuint m_index_buffer
Definition: diguyOglGraphicsMesh.h:66
diguyOglGraphicsMesh(void *internal_data)
This class is part of the DI-Guy Graphics API.
Definition: diguyOglGraphicsMesh.h:30
int m_is_skinned_mesh
Variables for data generated during the Build Stage.
Definition: diguyOglGraphicsMesh.h:62
diguyGraphicsMesh * diguyOglGraphicsMesh_create_func(void *internal_data)
Create function declaration.
A class that represents a shared mesh object.
Definition: diguyGraphicsMesh.h:87
virtual void build() override
This function will be called by DI-Guy when it is time for a renderer-specific mesh object to be crea...
GLuint m_vertex_buffer
Definition: diguyOglGraphicsMesh.h:65
A struct that represents the information that diguy puts together for an immediate mode draw call...
Definition: diguyGraphicsMesh.h:37
GLenum m_gl_index_type
Definition: diguyOglGraphicsMesh.h:70
int m_has_tangents
Definition: diguyOglGraphicsMesh.h:63
virtual void unbuild() override
This function will be called by DI-Guy when it is time for a renderer-specific mesh object to be dest...
virtual void draw(diguyDrawCallData *draw_data) override
This function will be called by DI-Guy when the mesh should be drawn.