Handbook
Glossary
framebuffer-incomplete? ( -- status/f )
Vocabulary
opengl
.
framebuffers
Inputs
None
Outputs
status/f
The framebuffer error code, or
f
if the framebuffer is render-complete.
Word description
Checks the framebuffer currently bound by
glBindFramebuffer
or
with-framebuffer
to see if it is incomplete, i.e., it is not ready to be rendered to.
Definition
USING:
kernel
opengl.gl
;
IN:
opengl.framebuffers
:
framebuffer-incomplete?
( -- status/f )
GL_DRAW_FRAMEBUFFER
glCheckFramebufferStatus
dup
GL_FRAMEBUFFER_COMPLETE
=
f
rot
?
;