11 #ifndef diguyDx9GraphicsMesh_h__
12 #define diguyDx9GraphicsMesh_h__
17 struct IDirect3DVertexBuffer9;
18 struct IDirect3DIndexBuffer9;
19 struct IDirect3DVertexDeclaration9;
Definition: diguyDx9GraphicsMesh.h:22
virtual void draw(diguyDrawCallData *data)
This function will be called by DI-Guy when the mesh should be drawn.
Definition: diguyDx9GraphicsMesh.cpp:263
diguyGraphicsMesh * diguyDx9GraphicsMesh_create_func(void *internal_data)
Create function declaration.
Definition: diguyDx9GraphicsMesh.cpp:343
A class that represents a shared mesh object.
Definition: diguyGraphicsMesh.h:80
int m_is_skinned_mesh
Variables for data generated during the Build Stage.
Definition: diguyDx9GraphicsMesh.h:38
A struct that represents the information that diguy puts together for an immediate mode draw call...
Definition: diguyGraphicsMesh.h:42
virtual void build()
This function will be called by DI-Guy when it is time for a renderer-specific mesh object to be crea...
Definition: diguyDx9GraphicsMesh.cpp:82
IDirect3DVertexDeclaration9 * m_vertexDecl
Definition: diguyDx9GraphicsMesh.h:43
diguyDx9GraphicsMesh(void *internal_data)
4 Header files and forward declarations
Definition: diguyDx9GraphicsMesh.cpp:46
virtual void unbuild()
This function will be called by DI-Guy when it is time for a renderer-specific mesh object to be dest...
Definition: diguyDx9GraphicsMesh.cpp:229
IDirect3DVertexBuffer9 * m_pVertexBuffer
Definition: diguyDx9GraphicsMesh.h:40
IDirect3DIndexBuffer9 * m_pIndexBuffer
Definition: diguyDx9GraphicsMesh.h:41