osgText::Font::GlyphTexture Class Reference
List of all members.
Member Typedef Documentation
Constructor & Destructor Documentation
| osgText::Font::GlyphTexture::GlyphTexture |
( |
|
) |
|
| virtual osgText::Font::GlyphTexture::~GlyphTexture |
( |
|
) |
[protected, virtual] |
Member Function Documentation
| void osgText::Font::GlyphTexture::addGlyph |
( |
Glyph * |
glyph, |
|
|
int |
posX, |
|
|
int |
posY | |
|
) |
| | |
| virtual void osgText::Font::GlyphTexture::apply |
( |
osg::State & |
state |
) |
const [virtual] |
Bind the texture object. If the texture object hasn't already been compiled, create the texture mipmap levels.
Reimplemented from osg::Texture2D.
| const char* osgText::Font::GlyphTexture::className |
( |
|
) |
const [inline, virtual] |
Return the name of the attribute's class type.
Reimplemented from osg::Texture.
| virtual int osgText::Font::GlyphTexture::compare |
( |
const osg::StateAttribute & |
rhs |
) |
const [virtual] |
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.
Reimplemented from osg::Texture2D.
| unsigned int osgText::Font::GlyphTexture::getGlyphImageMargin |
( |
|
) |
const [inline] |
| float osgText::Font::GlyphTexture::getGlyphImageMarginRatio |
( |
|
) |
const [inline] |
| bool osgText::Font::GlyphTexture::getSpaceForGlyph |
( |
Glyph * |
glyph, |
|
|
int & |
posX, |
|
|
int & |
posY | |
|
) |
| | |
| virtual void osgText::Font::GlyphTexture::resizeGLObjectBuffers |
( |
unsigned int |
maxSize |
) |
[virtual] |
Resize any per context GLObject buffers to specified size.
Reimplemented from osg::Texture.
| void osgText::Font::GlyphTexture::setGlyphImageMargin |
( |
unsigned int |
margin |
) |
[inline] |
Set the margin around each glyph, to ensure that texture filtering doesn't bleed adjacent glyph's into each other.
| void osgText::Font::GlyphTexture::setGlyphImageMarginRatio |
( |
float |
margin |
) |
[inline] |
| virtual void osgText::Font::GlyphTexture::setThreadSafeRefUnref |
( |
bool |
threadSafe |
) |
[virtual] |
Member Data Documentation
The documentation for this class was generated from the following file: