Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
esengine::RetainedText Struct Reference

#include <RetainedText.hpp>

Public Attributes

std::vector< RetainedTextBatch > batches
bool sdf = false
 The pipeline the label's glyphs were chosen for, by world scale (autoKind). What each batch draws with is its own mode.
bool screen = false
 The domain the geometry was laid out for.
bool hasBox = false
 Laid out in a UINode box, so ordered by the UI tree rather than by layer.
bool autoKind = false
 The glyph pipeline was chosen from the entity's world scale, so a changed scale can change it.
i32 layer = 0
 Text.layer, for a label with no box.
f32 boxWidth = 0.0f
 The box the layout used: a label whose box has since changed is stale.
f32 boxHeight = 0.0f

Detailed Description

Definition at line 37 of file RetainedText.hpp.

Member Data Documentation

◆ autoKind

bool esengine::RetainedText::autoKind = false

The glyph pipeline was chosen from the entity's world scale, so a changed scale can change it.

Definition at line 42 of file RetainedText.hpp.

◆ batches

std::vector<RetainedTextBatch> esengine::RetainedText::batches

Definition at line 38 of file RetainedText.hpp.

◆ boxHeight

f32 esengine::RetainedText::boxHeight = 0.0f

Definition at line 45 of file RetainedText.hpp.

◆ boxWidth

f32 esengine::RetainedText::boxWidth = 0.0f

The box the layout used: a label whose box has since changed is stale.

Definition at line 44 of file RetainedText.hpp.

◆ hasBox

bool esengine::RetainedText::hasBox = false

Laid out in a UINode box, so ordered by the UI tree rather than by layer.

Definition at line 41 of file RetainedText.hpp.

◆ layer

i32 esengine::RetainedText::layer = 0

Text.layer, for a label with no box.

Definition at line 43 of file RetainedText.hpp.

◆ screen

bool esengine::RetainedText::screen = false

The domain the geometry was laid out for.

Definition at line 40 of file RetainedText.hpp.

◆ sdf

bool esengine::RetainedText::sdf = false

The pipeline the label's glyphs were chosen for, by world scale (autoKind). What each batch draws with is its own mode.

Definition at line 39 of file RetainedText.hpp.


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