Skip to content

TSdlTtfGpuAtlasDrawSequence

Draw sequence returned by TSdlTtfText.GetGpuDrawData

Definition

Unit: Neslib.Sdl3.Ttf

type TSdlTtfGpuAtlasDrawSequence = record ... end;

See Also

Properties

Name Description
AtlasTexture Texture atlas that stores the glyphs
ImageType The image type of this draw sequence
Indices An array of indices into the 'vertices' arrays
Next The next sequence (will be nil in case of the last sequence)
NumIndices Number of indices
NumVertices Number of vertices
UV An array of normalized texture coordinates for each vertex
XY An array of vertex positions

Operators

Name Description
Equal(TSdlTtfGpuAtlasDrawSequence, TSdlTtfGpuAtlasDrawSequence) Used to compare against another TSdlTtfGpuAtlasDrawSequence.
Equal(TSdlTtfGpuAtlasDrawSequence, Pointer) Used to compare against nil.
Implicit Used to set the value to nil.
NotEqual(TSdlTtfGpuAtlasDrawSequence, TSdlTtfGpuAtlasDrawSequence) Used to compare against another TSdlTtfGpuAtlasDrawSequence.
NotEqual(TSdlTtfGpuAtlasDrawSequence, Pointer) Used to compare against nil.

Property Descriptions

AtlasTexture

Texture atlas that stores the glyphs

property AtlasTexture: TSdlGpuTexture read GetAtlasTexture

Type: TSdlGpuTexture


ImageType

The image type of this draw sequence

property ImageType: TSdlTtfImageType read GetImageType

Type: TSdlTtfImageType


Indices

An array of indices into the 'vertices' arrays

property Indices: PInteger read GetIndices

Type: PInteger


Next

The next sequence (will be nil in case of the last sequence)

property Next: TSdlTtfGpuAtlasDrawSequence read GetNext

Type: TSdlTtfGpuAtlasDrawSequence


NumIndices

Number of indices

property NumIndices: Integer read GetNumIndices

Type: Integer


NumVertices

Number of vertices

property NumVertices: Integer read GetNumVertices

Type: Integer


UV

An array of normalized texture coordinates for each vertex

property UV: PSdlPointF read GetUV

Type: PSdlPointF


XY

An array of vertex positions

property XY: PSdlPointF read GetXY

Type: PSdlPointF


Operator Descriptions

Equal(TSdlTtfGpuAtlasDrawSequence, TSdlTtfGpuAtlasDrawSequence)

Used to compare against another TSdlTtfGpuAtlasDrawSequence.

class operator Equal(const ALeft, ARight: TSdlTtfGpuAtlasDrawSequence): Boolean; inline; static

Parameters

ALeft: TSdlTtfGpuAtlasDrawSequence

ARight: TSdlTtfGpuAtlasDrawSequence

Returns

Boolean


Equal(TSdlTtfGpuAtlasDrawSequence, Pointer)

Used to compare against nil.

class operator Equal(const ALeft: TSdlTtfGpuAtlasDrawSequence; const ARight: Pointer): Boolean; inline; static

Parameters

ALeft: TSdlTtfGpuAtlasDrawSequence

ARight: Pointer

Returns

Boolean


Implicit(Pointer)

Used to set the value to nil.

class operator Implicit(const AValue: Pointer): TSdlTtfGpuAtlasDrawSequence; inline; static

Parameters

AValue: Pointer

Returns

TSdlTtfGpuAtlasDrawSequence


NotEqual(TSdlTtfGpuAtlasDrawSequence, TSdlTtfGpuAtlasDrawSequence)

Used to compare against another TSdlTtfGpuAtlasDrawSequence.

class operator NotEqual(const ALeft, ARight: TSdlTtfGpuAtlasDrawSequence): Boolean; inline; static

Parameters

ALeft: TSdlTtfGpuAtlasDrawSequence

ARight: TSdlTtfGpuAtlasDrawSequence

Returns

Boolean


NotEqual(TSdlTtfGpuAtlasDrawSequence, Pointer)

Used to compare against nil.

class operator NotEqual(const ALeft: TSdlTtfGpuAtlasDrawSequence; const ARight: Pointer): Boolean; inline; static

Parameters

ALeft: TSdlTtfGpuAtlasDrawSequence

ARight: Pointer

Returns

Boolean