Graphics.glDraw

Graphics.glDraw is a function with access named arguments for drawing OpenGL primitives. The only required parameter is vertexCoords.

The list with accepted arguments:

Values for LunaLua with Shader Support
{| class="wikitable" ! style="font-weight: bold;" | Type ! style="font-weight: bold;" | Name ! style="font-weight: bold;" | Default ! style="font-weight: bold;" | Description
 * shader
 * nil
 * The compiled Shader-Program to use.
 * attributes
 * nil
 * A table where the key is the name of the attribute and the value is a an array containing all required values. Keep in mind that this is per-vertex, so you the number of values you pass in that array depends on the number for verticies you use.
 * uniforms
 * nil
 * A table where the key is the name of the uniform and the value is a an array containing all required values.|}
 * A table where the key is the name of the attribute and the value is a an array containing all required values. Keep in mind that this is per-vertex, so you the number of values you pass in that array depends on the number for verticies you use.
 * uniforms
 * nil
 * A table where the key is the name of the uniform and the value is a an array containing all required values.|}
 * nil
 * A table where the key is the name of the uniform and the value is a an array containing all required values.|}