public void Triangle(VertexPosTexColor v0, VertexPosTexColor v1, VertexPosTexColor v2, Texture tex = null)
        {
            tex = tex ?? white1x1Tex;

            TrySetTexture(tex);

            Index();
            Vertex(v0);

            Index();
            Vertex(v1);

            Index();
            Vertex(v2);
        }
 protected void Vertex(VertexPosTexColor vertex)
 {
     vertices[vertexCount] = vertex;
     vertexCount++;
 }