Window Framework for UI Toolkit v2.0.x
GWG.WindowFramework.Theming.PreparedThemeSnapshot.Entry Class Referencesealed

One serialized derived catalog value; validation is deferred to TryGetValues. More...

Collaboration diagram for GWG.WindowFramework.Theming.PreparedThemeSnapshot.Entry:

Public Member Functions

 Entry (string token, Color color)
 Records a derived color without validating token membership or finite components yet.
 Entry (string token, float number)
 Records a derived number; token-specific limits are checked during materialization.
 Entry (string token, Texture2D texture)
 Records a borrowed project texture, including explicit null image data.

Private Attributes

Color _color
PlayerThemeTokenCatalog.ValueKind _kind
float _number
Texture2D _texture
string _token

Detailed Description

One serialized derived catalog value; validation is deferred to TryGetValues.

Constructor & Destructor Documentation

◆ Entry() [1/3]

GWG.WindowFramework.Theming.PreparedThemeSnapshot.Entry.Entry ( string token,
Color color )
inline

Records a derived color without validating token membership or finite components yet.

Parameters
tokenCanonical color-role token; TryGetValues validates its type/catalog membership.
colorDerived source color, not an invented fallback.

◆ Entry() [2/3]

GWG.WindowFramework.Theming.PreparedThemeSnapshot.Entry.Entry ( string token,
float number )
inline

Records a derived number; token-specific limits are checked during materialization.

Parameters
tokenCanonical number-role token.
numberDerived source value.

◆ Entry() [3/3]

GWG.WindowFramework.Theming.PreparedThemeSnapshot.Entry.Entry ( string token,
Texture2D texture )
inline

Records a borrowed project texture, including explicit null image data.

Parameters
tokenCanonical image-role token.
textureTrusted project asset reference; this record does not acquire/dispose it.

Field Documentation

◆ _color

Color GWG.WindowFramework.Theming.PreparedThemeSnapshot.Entry._color
private

◆ _kind

PlayerThemeTokenCatalog.ValueKind GWG.WindowFramework.Theming.PreparedThemeSnapshot.Entry._kind
private

◆ _number

float GWG.WindowFramework.Theming.PreparedThemeSnapshot.Entry._number
private

◆ _texture

Texture2D GWG.WindowFramework.Theming.PreparedThemeSnapshot.Entry._texture
private

◆ _token

string GWG.WindowFramework.Theming.PreparedThemeSnapshot.Entry._token
private