Introduced streamlined text rendering dispatch code.

This commit is contained in:
Robert Osfield
2017-03-17 12:50:15 +00:00
parent 2cefcc8bfc
commit feb0214ddc
4 changed files with 177 additions and 1 deletions

View File

@@ -369,6 +369,9 @@ protected:
void computeColorGradientsPerCharacter();
void drawImplementation(osg::State& state, const osg::Vec4& colorMultiplier) const;
void drawImplementationSinglePass(osg::State& state, const osg::Vec4& colorMultiplier) const;
void drawForegroundText(osg::State& state, const GlyphQuads& glyphquad, const osg::Vec4& colorMultiplier) const;
void drawTextWithBackdrop(osg::State& state, const osg::Vec4& colorMultiplier) const;
void renderOnlyForegroundText(osg::State& state, const osg::Vec4& colorMultiplier) const;