Handbook
Glossary
gl4compute ( -- )
Vocabulary
opengl
.
demos
.
compute
Inputs
None
Outputs
None
Definition
USING:
game.worlds
kernel
ui
ui.pixel-formats
;
IN:
opengl.demos.compute
:
gl4compute
( -- )
[
f
T{
game-attributes
{
world-class
gl4compute-world
}
{
grab-input?
t
}
{
title
"gl4 compute demo"
}
{
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
;