### Struct

# Cogl VertexP2T2C4

#### Description [src]

    struct CoglVertexP2T2C4 {
      float x;
      float y;
      float s;
      float t;
      uint8_t r;
      uint8_t g;
      uint8_t b;
      uint8_t a;
    }

A convenience vertex definition that can be used with cogl_primitive_new_p3t2c4().

###### Structure members

`x`

  The x component of a position attribute.

`y`

  The y component of a position attribute.

`s`

  The s component of a texture coordinate attribute.

`t`

  The t component of a texture coordinate attribute.

`r`

  The red component of a color attribute.

`g`

  The blue component of a color attribute.

`b`

  The green component of a color attribute.

`a`

  The alpha component of a color attribute.