Handbook
Glossary
fill-bunny-state ( bunny-state -- )
Vocabulary
gpu
.
demos
.
bunny
Inputs
bunny-state
an
object
Outputs
None
Definition
USING:
accessors
gpu.buffers
gpu.render
gpu.shaders
kernel
;
IN:
gpu.demos.bunny
:
fill-bunny-state
( bunny-state -- )
dup
[
vertexes>>
]
[
indexes>>
]
bi
<bunny-buffers>
[
bunny-program
<program-instance>
<vertex-array>
>>vertex-array
]
[
0
<buffer-ptr>
]
[
uint-indexes
<index-elements>
>>index-elements
]
tri*
drop
;