Handbook
Glossary
render-slabs-to-buffers ( renderer: papier-renderer uniforms: papier-uniforms slabs -- )
Vocabulary
papier
.
render
Inputs
renderer
a
papier-renderer
uniforms
a
papier-uniforms
slabs
an
object
Outputs
None
Definition
USING:
accessors
gpu.buffers
typed
;
IN:
papier.render
TYPED::
render-slabs-to-buffers
( renderer: papier-renderer uniforms: papier-uniforms slabs -- )
slabs uniforms
eye>>
order-slabs
render-slabs
:>
( vertices indexes ) renderer
vertex-buffer>>
vertices
allocate-byte-array
renderer
index-buffer>>
indexes
allocate-byte-array
;
inline