10 #include <osg/Drawable>
12 class diguyGraphicsVertexData;
32 virtual void build()
override;
33 virtual void unbuild()
override;
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...
Meshes contain the visual geometry of a DI-Guy character.
Definition: diguyOsgGraphicsMesh.h:25
void attach_state_set_to_drawable(int drawable_index)
Looks up the state set for the drawable and attaches the state set to the drawable if not already att...
std::vector< bool > m_has_graphics_state_set
Definition: diguyOsgGraphicsMesh.h:49
A class that represents a shared mesh object.
Definition: diguyGraphicsMesh.h:87
osg::PrimitiveSet * get_primitiveSet()
Definition: diguyOsgGraphicsMesh.h:35
std::vector< osg::ref_ptr< osg::Drawable > > m_drawables
Definition: diguyOsgGraphicsMesh.h:48
diguyOsgGraphicsMesh(void *internal_data)
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...
osg::Drawable * get_drawable(int drawable_index)
osg::ref_ptr< osg::PrimitiveSet > m_primitiveSet
Definition: diguyOsgGraphicsMesh.h:47
diguyGraphicsMesh * diguyOsgGraphicsMesh_create_func(void *internal_data)
Create function declaration.