const static unsigned int USR_ATTR_1 = 10;
const static unsigned int USR_ATTR_2 = 11;
- const static unsigned int USR_ATTR_3 = 12;
+ const static unsigned int USR_ATTR_3 = 12;
CloudShaderGeometry()
{
return _bbox;
}
- void setGeometry(osg::Drawable* geometry)
- {
- _geometry = geometry;
- }
-
void addSprite(const SGVec3f& p, int tx, int ty, float w, float h, float cull);
+ void generateGeometry();
+ void rebuildGeometry();
osg::ref_ptr<osg::Drawable> _geometry;