webgl-ui-system-font
Text implementation for webgl-ui
that can generate glyphs from system fonts.
The constructor takes a WebGL context as its only argument, so that it can
generate the textures necessary to render text.
To use with webgl-ui
surfaces:
;; const canvas = document;const gl = canvas;const surface = gl;surface;