Method GL.GLSLUtils.RenderBuffer()->draw()


Method draw

void draw(function(:void) f, mixed ... args)

Description

Convenience function that binds the buffer as the currently active destination buffer, then calls f and 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 disable

This function is usually what is used to draw into a RenderBuffer.