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


Method draw

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

Description

Call the function x(@args) with this program activated.

This will bind all texture units to their correct textures, set up any vertex pointers that have been defined, and set uniforms to their value.

Once the function has been called, all texture units except the default one will be disabled, and the vertex array pointers will be reset.