Handbook
Glossary
(pass1) ( geom draw -- )
Vocabulary
bunny
.
outlined
Inputs
geom
an
object
draw
an
object
Outputs
None
Definition
USING:
accessors
bunny.cel-shaded
kernel
opengl
opengl.framebuffers
opengl.gl
;
IN:
bunny.outlined
:
(pass1)
( geom draw -- )
dup
framebuffer>>
[
clear-framebuffer
{
GL_COLOR_ATTACHMENT0
GL_COLOR_ATTACHMENT1
}
set-draw-buffers
pass1-program>>
(draw-cel-shaded-bunny)
]
with-framebuffer
;