OpenSceneGraph
Public Types | Public Member Functions | Public Attributes | List of all members
osgText::Text::GlyphQuads Struct Reference

Public Types

typedef std::vector< Glyph * > Glyphs
 

Public Member Functions

 GlyphQuads ()
 
 GlyphQuads (const GlyphQuads &gq)
 
void setupPrimitives (Text::BackdropType backdropType)
 
GlyphsgetGlyphs ()
 
const GlyphsgetGlyphs () const
 
void resizeGLObjectBuffers (unsigned int maxSize)
 Resize any per context GLObject buffers to specified size. More...
 
void releaseGLObjects (osg::State *state=0) const
 If State is non-zero, this function releases OpenGL objects for the specified graphics context. More...
 

Public Attributes

Glyphs _glyphs
 
osg::ref_ptr< osg::DrawElements_primitives
 

Member Typedef Documentation

◆ Glyphs

Constructor & Destructor Documentation

◆ GlyphQuads() [1/2]

osgText::Text::GlyphQuads::GlyphQuads ( )

◆ GlyphQuads() [2/2]

osgText::Text::GlyphQuads::GlyphQuads ( const GlyphQuads gq)

Member Function Documentation

◆ getGlyphs() [1/2]

Glyphs& osgText::Text::GlyphQuads::getGlyphs ( )
inline

◆ getGlyphs() [2/2]

const Glyphs& osgText::Text::GlyphQuads::getGlyphs ( ) const
inline

◆ releaseGLObjects()

void osgText::Text::GlyphQuads::releaseGLObjects ( osg::State state = 0) const

If State is non-zero, this function releases OpenGL objects for the specified graphics context.

Otherwise, releases OpenGL objexts for all graphics contexts.

◆ resizeGLObjectBuffers()

void osgText::Text::GlyphQuads::resizeGLObjectBuffers ( unsigned int  maxSize)

Resize any per context GLObject buffers to specified size.

◆ setupPrimitives()

void osgText::Text::GlyphQuads::setupPrimitives ( Text::BackdropType  backdropType)

Member Data Documentation

◆ _glyphs

Glyphs osgText::Text::GlyphQuads::_glyphs

◆ _primitives

osg::ref_ptr<osg::DrawElements> osgText::Text::GlyphQuads::_primitives

The documentation for this struct was generated from the following file: