Cogl.Primitive.prototype.get_indices

function get_indices(): Cogl.Indices {
    // Gjs wrapper for cogl_primitive_get_indices()
}
  

Since 1.10

Returns

the indices that were set with Cogl.Primitive.prototype.set_indices or null if no indices were set.