16 #ifndef AGXOSG_RENDERTASKDRAWABLE
17 #define AGXOSG_RENDERTASKDRAWABLE
20 #include <osg/Drawable>
21 #include <osg/Version>
31 class ParticleDrawableCallback;
41 void setDrawable(osg::Drawable *drawable ) { m_drawable = drawable; }
50 virtual const char*
className()
const {
return "RenderTaskDrawable"; }
54 # if OSG_VERSION_GREATER_OR_EQUAL(3,4,0)
55 virtual osg::BoundingSphere computeBound()
const;
56 virtual osg::BoundingBox computeBoundingBox()
const;
58 virtual osg::BoundingBox computeBound()
const;
62 virtual void drawImplementation(osg::RenderInfo& renderInfo)
const;
65 friend class ParticleDrawableCallback;