Handbook
Glossary
read-pixels ( FRAME-BUFFER -- )
Vocabulary
ui
.
gadgets
.
frame-buffer
Inputs
FRAME-BUFFER
an
object
Outputs
None
Definition
USING:
accessors
kernel
math
opengl
opengl.gl
sequences
;
IN:
ui.gadgets.frame-buffer
::
read-pixels
( FRAME-BUFFER -- )
0 0 FRAME-BUFFER
dim>>
first2
[
gl-scale
>fixnum
]
bi@
GL_RGBA
GL_UNSIGNED_INT
FRAME-BUFFER
pixels>>
glReadPixels
;