Handbook
Glossary
draw-loading ( world -- )
Vocabulary
gpu
.
demos
.
bunny
Inputs
world
an
object
Outputs
None
Definition
USING:
accessors
gpu.render
gpu.state
kernel
;
IN:
gpu.demos.bunny
:
draw-loading
( world -- )
T{
depth-state
}
set-gpu-state
loading>>
{
{
"primitive-mode"
[
drop
triangle-strip-mode
]
}
{
"indexes"
[
drop
T{
index-range
{
count 4
}
}
]
}
{
"uniforms"
[
{
1.0 -1.0
}
swap
texture>>
loading-uniforms
boa
]
}
{
"vertex-array"
[
vertex-array>>
]
}
}
<render-set>
render
;