Skip to content

TextStudioDirtyGlyphView

StructTextStudioTextStudio
public readonly struct TextStudioDirtyGlyphView

Read-only view of the glyphs changed for the current frame.

public bool IsDirty(int glyphIndex)

Reports whether one visible glyph must be refreshed.

Parameters

Name Type
glyphIndex System.Int32

Returns

System.Boolean

public bool AreAllDirty(int glyphCount)

Reports whether every glyph in the requested prefix must be refreshed.

Parameters

Name Type
glyphCount System.Int32

Returns

System.Boolean

public bool AnyDirtyInRange(int start, int count)

Reports whether any glyph in a bounded range must be refreshed.

Parameters

Name Type
start System.Int32
count System.Int32

Returns

System.Boolean

public bool IsCreated { get; }

Returns

System.Boolean