Table of Contents

Class GLFontCharManager

Namespace
SearchAThing.OpenGL.Core
Assembly
netcore-opengl-core.dll

Gl font char manager, allocated through gl context.
It manage the cache of GLFontChar avoid there are duplicates of the same gl font char for the same font/character.

public class GLFontCharManager
Inheritance
GLFontCharManager
Inherited Members

Constructors

GLFontCharManager(GLContext)

Instantiate gl font char manager.

public GLFontCharManager(GLContext glContext)

Parameters

glContext GLContext

Gl context.

Properties

GLContext

public GLContext GLContext { get; }

Property Value

GLContext

Methods

GetFontChars(string, SKFont)

Retrieve the list of GLFontChar objects for given text and font.

public List<GLFontChar> GetFontChars(string text, SKFont font)

Parameters

text string

Text string for which retrieve gl font chars.

font SKFont

Font to use in retrieval of gl font chars.

Returns

List<GLFontChar>
See Also