Handbook
Glossary
draw-string-gl3 ( font string -- )
Vocabulary
ui
.
text
.
private
Inputs
font
an
object
string
an
object
Outputs
None
Definition
USING:
accessors
opengl.textures
ui.render
ui.text
;
IN:
ui.text.private
::
draw-string-gl3
( font string -- )
font string
string>image
:>
( image loc ) image
dim>>
scale-dim
:>
dim image
make-texture-gl3
:>
tex-id loc dim
tex-id image
upside-down?>>
gl3-draw-texture
tex-id
delete-texture
;