Method GL.GLSLUtils.RenderBuffer()->draw()
- Method
draw
voiddraw(function(:void)f,mixed...args)- Description
Convenience function that binds the buffer as the currently active destination buffer, then calls
fand finally binds the default framebuffer (generally speaking the screen) as the active buffer again.This is equivalent to use followed by
f(args) followed by disableThis function is usually what is used to draw into a RenderBuffer.