GL_READ_FRAMEBUFFER from-fb-rect framebuffer>> framebuffer-handle glBindFramebuffer
from-fb-rect [ framebuffer>> ] [ attachment>> ] bi gl-attachment glReadBuffer
to-fb-rect attachment>> [ GL_COLOR_BUFFER_BIT ] [ 0 ] if
- depth? [ GL_DEPTH_BUFFER_BIT ] [ 0 ] if bitor
- stencil? [ GL_STENCIL_BUFFER_BIT ] [ 0 ] if bitor :> mask
+ depth? [ GL_DEPTH_BUFFER_BIT bitor ] when
+ stencil? [ GL_STENCIL_BUFFER_BIT bitor ] when :> mask
from-fb-rect rect>> rect-extent [ first2 ] bi@
to-fb-rect rect>> rect-extent [ first2 ] bi@