Handbook
Glossary
dispose-framebuffer ( draw -- )
Vocabulary
bunny
.
outlined
Inputs
draw
an
object
Outputs
None
Definition
USING:
accessors
combinators
kernel
opengl.framebuffers
opengl.textures
;
IN:
bunny.outlined
:
dispose-framebuffer
( draw -- )
dup
framebuffer-dim>>
[
{
[
framebuffer>>
[
delete-framebuffer
]
when*
]
[
color-texture>>
[
delete-texture
]
when*
]
[
normal-texture>>
[
delete-texture
]
when*
]
[
depth-texture>>
[
delete-texture
]
when*
]
[
f
>>framebuffer-dim
drop
]
}
cleave
]
[
drop
]
if
;