1 #ifndef diguyOsgGraphicsMesh_h__
2 #define diguyOsgGraphicsMesh_h__
8 #include <osg/Drawable>
10 class diguyGraphicsVertexData;
41 std::vector<osg::ref_ptr<osg::Drawable> >
m_drawables;
56 #endif // diguyOsgGraphicsMesh_h__
Meshes contain the visual geometry of a DI-Guy character.
Definition: diguyOsgGraphicsMesh.h:21
void attach_state_set_to_drawable(int drawable_index)
Definition: diguyOsgGraphicsMesh.cpp:390
std::vector< bool > m_has_graphics_state_set
Definition: diguyOsgGraphicsMesh.h:39
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: diguyOsgGraphicsMesh.cpp:56
int get_num_drawables()
Definition: diguyOsgGraphicsMesh.cpp:339
A class that represents a shared mesh object.
Definition: diguyGraphicsMesh.h:80
osg::Drawable * get_drawable(int drawable_index)
Definition: diguyOsgGraphicsMesh.cpp:355
diguyGraphicsMesh * diguyOsgGraphicsMesh_create_func(void *internal_data)
Create function declaration.
Definition: diguyOsgGraphicsMesh.cpp:446
osg::PrimitiveSet * get_primitiveSet()
Definition: diguyOsgGraphicsMesh.h:31
std::vector< osg::ref_ptr< osg::Drawable > > m_drawables
Definition: diguyOsgGraphicsMesh.h:38
diguyOsgGraphicsMesh(void *internal_data)
Definition: diguyOsgGraphicsMesh.cpp:27
osg::ref_ptr< osg::PrimitiveSet > m_primitiveSet
Definition: diguyOsgGraphicsMesh.h:37
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: diguyOsgGraphicsMesh.cpp:314