Cogl.VertexP2T2

const Cogl = imports.gi.Cogl;

let vertexP2T2 = new Cogl.VertexP2T2({
    x: value
    y: value
    s: value
    t: value
});
  

A convenience vertex definition that can be used with Cogl.Primitive.new_p2t2.

Since 1.6