Struct
CoglVertexP2C4
Description [src]
struct CoglVertexP2C4 {
float x;
float y;
uint8_t r;
uint8_t g;
uint8_t b;
uint8_t a;
}
A convenience vertex definition that can be used with cogl_primitive_new_p2c4().
Structure members
x:
float
The x component of a position attribute.
y:
float
The y component of a position attribute.
r:
uint8_t
The red component of a color attribute.
g:
uint8_t
The blue component of a color attribute.
b:
uint8_t
The green component of a color attribute.
a:
uint8_t
The alpha component of a color attribute.