Handbook
Glossary
init-gpu ( -- )
GPU-accelerated rendering
ยป
Graphics context management
Next:
flush-gpu ( -- )
Vocabulary
gpu
Word description
Initializes the current graphics context for use with the
gpu
library. This should be the first thing called in a world's
begin-world
method.
Definition
USING:
gpu.private
;
IN:
gpu
:
init-gpu
( -- )
set-gpu-api
init-gpu-api
;