Handbook
Glossary
debug-shapes-vertex-array ( sequence -- vertex-array )
Vocabulary
game
.
debug
.
private
Inputs
sequence
an
object
Outputs
vertex-array
an
object
Definition
USING:
destructors
gpu.buffers
gpu.shaders
;
IN:
game.debug.private
:
debug-shapes-vertex-array
( sequence -- vertex-array )
stream-upload
draw-usage
vertex-buffer
byte-array>buffer
&dispose
debug-shapes-program
<program-instance>
&dispose
<vertex-array>
&dispose
;