Function VisualServerSingleton.canvasItemAddPrimitive
Adds a primitive to the CanvasItem
's draw commands.
void canvasItemAddPrimitive
(
const(RID) item,
const(PoolArray!(godot.core.vector2.Vector2)) points,
const(PoolArray!(godot.core.color.Color)) colors,
const(PoolArray!(godot.core.vector2.Vector2)) uvs,
const(RID) texture,
const(double) width = 1.00000,
const(RID) normal_map = RID(godot_rid(0LU))
) nothrow @nogc;