Element

An interface of elements. Elements prepare a shader and draw something.

Members

Functions

clear
void clear()

Clears all buffers.

draw
void draw(Shader )

Draws the element using the shader.

Meta