15 #ifndef diguyDx9GraphicsMesh_h__
16 #define diguyDx9GraphicsMesh_h__
21 struct IDirect3DVertexBuffer9;
22 struct IDirect3DIndexBuffer9;
23 struct IDirect3DVertexDeclaration9;
Definition: diguyDx9GraphicsMesh.h:26
virtual void draw(diguyDrawCallData *data)
This function will be called by DI-Guy when the mesh should be drawn.
diguyGraphicsMesh * diguyDx9GraphicsMesh_create_func(void *internal_data)
Create function declaration.
virtual void build()
This function will be called by DI-Guy when it is time for a renderer-specific mesh object to be crea...
A class that represents a shared mesh object.
Definition: diguyGraphicsMesh.h:87
int m_is_skinned_mesh
Variables for data generated during the Build Stage.
Definition: diguyDx9GraphicsMesh.h:42
A struct that represents the information that diguy puts together for an immediate mode draw call...
Definition: diguyGraphicsMesh.h:37
IDirect3DVertexDeclaration9 * m_vertexDecl
Definition: diguyDx9GraphicsMesh.h:47
diguyDx9GraphicsMesh(void *internal_data)
virtual void unbuild()
This function will be called by DI-Guy when it is time for a renderer-specific mesh object to be dest...
IDirect3DVertexBuffer9 * m_pVertexBuffer
Definition: diguyDx9GraphicsMesh.h:44
IDirect3DIndexBuffer9 * m_pIndexBuffer
Definition: diguyDx9GraphicsMesh.h:45