OSG
3.4.0
|
#include <Text.h>
Public Types | |
typedef std::vector< Glyph * > | Glyphs |
typedef std::vector< unsigned int > | LineNumbers |
typedef osg::ref_ptr < osg::Vec2Array > | Coords2 |
typedef osg::ref_ptr < osg::Vec3Array > | Coords3 |
typedef osg::ref_ptr < osg::Vec2Array > | TexCoords |
typedef osg::ref_ptr < osg::Vec4Array > | ColorCoords |
Public Member Functions | |
void | updateQuadIndices () |
GlyphQuads () | |
GlyphQuads (const GlyphQuads &gq) | |
void | initGlyphQuads () |
void | initGPUBufferObjects () |
Glyphs & | getGlyphs () |
const Glyphs & | getGlyphs () const |
Coords2 & | getCoords () |
const Coords2 & | getCoords () const |
Coords3 & | getTransformedCoords (unsigned int contexID) |
const Coords3 & | getTransformedCoords (unsigned int contexID) const |
TexCoords & | getTexCoords () |
const TexCoords & | getTexCoords () const |
LineNumbers & | getLineNumbers () |
const LineNumbers & | getLineNumbers () const |
void | resizeGLObjectBuffers (unsigned int maxSize) |
void | releaseGLObjects (osg::State *state=0) const |
typedef std::vector<Glyph*> osgText::Text::GlyphQuads::Glyphs |
typedef std::vector<unsigned int> osgText::Text::GlyphQuads::LineNumbers |
osgText::Text::GlyphQuads::GlyphQuads | ( | ) |
osgText::Text::GlyphQuads::GlyphQuads | ( | const GlyphQuads & | gq | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void osgText::Text::GlyphQuads::initGlyphQuads | ( | ) |
void osgText::Text::GlyphQuads::initGPUBufferObjects | ( | ) |
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.
void osgText::Text::GlyphQuads::resizeGLObjectBuffers | ( | unsigned int | maxSize | ) |
Resize any per context GLObject buffers to specified size.
void osgText::Text::GlyphQuads::updateQuadIndices | ( | ) |
ColorCoords osgText::Text::GlyphQuads::_colorCoords |
LineNumbers osgText::Text::GlyphQuads::_lineNumbers |
osg::ref_ptr<osg::DrawElementsUInt> osgText::Text::GlyphQuads::_quadIndices |
osg::buffered_object<Coords3> osgText::Text::GlyphQuads::_transformedBackdropCoords[8] |
osg::buffered_object<Coords3> osgText::Text::GlyphQuads::_transformedCoords |