Handbook
Glossary
gl4demo ( -- )
Vocabulary
opengl
.
demos
.
gl4
Inputs
None
Outputs
None
Definition
USING:
game.worlds
kernel
ui
ui.pixel-formats
;
IN:
opengl.demos.gl4
:
gl4demo
( -- )
[
f
T{
game-attributes
{
world-class
gl4demo-world
}
{
grab-input?
t
}
{
title
"gl4demo"
}
{
pixel-format-attributes
{
windowed
double-buffered
T{
depth-bits
{
value 24
}
}
}
}
{
pref-dim
{
1280 720
}
}
{
tick-interval-nanos 16666666
}
{
use-game-input?
t
}
}
clone
open-window
]
with-ui
;