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
GLContextGl context.
Properties
GLContext
public GLContext GLContext { get; }
Property Value
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
stringText string for which retrieve gl font chars.
font
SKFontFont to use in retrieval of gl font chars.
Returns
- See Also