RAMSES Documentation  27.0.130
Information for RAMSES users and developers
Public Attributes | List of all members
ramses::TextLine Struct Reference

Groups the scene objects needed to render a text line. More...

#include <TextLine.h>

Collaboration diagram for ramses::TextLine:
[legend]

Public Attributes

MeshNodemeshNode = nullptr
 Mesh node that represents the text. More...
 
std::size_t atlasPage = std::numeric_limits<std::size_t>::max()
 Index to the atlas page containing the glyphs. More...
 
GlyphMetricsVector glyphs
 Glyph metrics of the original string characters. More...
 
ArrayBufferpositions = nullptr
 Stores vertex data for the text line quads. More...
 
ArrayBuffertextureCoordinates = nullptr
 Stores texture coordinate data for the text line quads. More...
 
ArrayBufferindices = nullptr
 Stores index data for the text line quads. More...
 

Detailed Description

Groups the scene objects needed to render a text line.

Examples
ramses-example-text-basic/src/main.cpp, and ramses-example-text-languages/src/main.cpp.

Member Data Documentation

◆ atlasPage

std::size_t ramses::TextLine::atlasPage = std::numeric_limits<std::size_t>::max()

Index to the atlas page containing the glyphs.

◆ glyphs

GlyphMetricsVector ramses::TextLine::glyphs

Glyph metrics of the original string characters.

◆ indices

ArrayBuffer* ramses::TextLine::indices = nullptr

Stores index data for the text line quads.

◆ meshNode

MeshNode* ramses::TextLine::meshNode = nullptr

◆ positions

ArrayBuffer* ramses::TextLine::positions = nullptr

Stores vertex data for the text line quads.

◆ textureCoordinates

ArrayBuffer* ramses::TextLine::textureCoordinates = nullptr

Stores texture coordinate data for the text line quads.


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