const Cogl = imports.gi.Cogl; let vertexP3C4 = new Cogl.VertexP3C4({ x: value y: value z: value r: value g: value b: value a: value });
A convenience vertex definition that can be used with Cogl.Primitive.new_p3c4.
Since 1.6