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

A list of tuples from font instances and offsets into a string. More...

#include <FontInstanceOffsets.h>

Collaboration diagram for ramses::FontInstanceOffset:
[legend]

Public Attributes

FontInstanceId fontInstance
 Font instance to use starting at this offset. More...
 
std::size_t beginOffset
 Offset into string where to start. More...
 

Detailed Description

A list of tuples from font instances and offsets into a string.

Used to tell the text API which font should be used for which substring when creating glyphs for a string. The list is used as this: take entry N of the list, start at string offset 'N:beginOffset' and use font 'N:fontInstance' until offset 'N+1:beginOffset'.

Member Data Documentation

◆ beginOffset

std::size_t ramses::FontInstanceOffset::beginOffset

Offset into string where to start.

◆ fontInstance

FontInstanceId ramses::FontInstanceOffset::fontInstance

Font instance to use starting at this offset.


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