Handbook
Glossary
clear-framebuffer ( -- )
Vocabulary
bunny
.
outlined
Inputs
None
Outputs
None
Definition
USING:
opengl.gl
;
IN:
bunny.outlined
:
clear-framebuffer
( -- )
GL_COLOR_ATTACHMENT0
glDrawBuffer
0.15 0.15 0.15 1.0
glClearColor
16640
glClear
GL_COLOR_ATTACHMENT1
glDrawBuffer
0.0 0.0 0.0 0.0
glClearColor
GL_COLOR_BUFFER_BIT
glClear
;