Introduced Drawable::CreateVertexArrayStateCallback to enable customization of how VertexArrayState objects.

Added public accessors to the Drawable::VertexArrayStateList.
This commit is contained in:
Robert Osfield
2017-11-29 14:22:31 +00:00
parent 03434b20cf
commit a6069c3226
11 changed files with 62 additions and 14 deletions

View File

@@ -295,7 +295,7 @@ protected:
void initArraysAndBuffers();
osg::VertexArrayState* createVertexArrayState(osg::RenderInfo& renderInfo) const;
osg::VertexArrayState* createVertexArrayStateImplementation(osg::RenderInfo& renderInfo) const;
void positionCursor(const osg::Vec2 & endOfLine_coords, osg::Vec2 & cursor, unsigned int linelength);
String::iterator computeLastCharacterOnLine(osg::Vec2& cursor, String::iterator first,String::iterator last);