cc_vertex Struct Reference

A vertex to draw to a cc_screen_t. More...

#include <screen.h>


Data Fields

uint32 argb
 The color of this vertex in 32-bit ARGB.
int eol
 This parameter should be set to true only if this is the final vertex in a polygon.
float u
 The U texturing coordinate of this vertex.
float v
 The V texturing coordinate of this vertex.
float x
 The X coordinate of this vertex from the upper-left corner of the screen.
float y
 The Y coordinate of this vertex from the upper-left corner of the screen.
float z
 The Z coordinate or priority of this vertex.


Detailed Description

A vertex to draw to a cc_screen_t.

A cc_vertex_t is the representation of one point on the screen. A vertex is used as a corner of a polygon.

Since:
1.0.0

Field Documentation

The color of this vertex in 32-bit ARGB.

This value is a packed integer in the host's native byte ordering. This value effects both non-textured as well as textured polygons.

Since:
1.0.0

This parameter should be set to true only if this is the final vertex in a polygon.

Otherwise, it should be false.

Since:
1.0.0

float cc_vertex::u

The U texturing coordinate of this vertex.

This value is only used when drawing a textured polygon.

Since:
1.0.0

float cc_vertex::v

The V texturing coordinate of this vertex.

This value is only used when drawing a textured polygon.

Since:
1.0.0

float cc_vertex::x

The X coordinate of this vertex from the upper-left corner of the screen.

Since:
1.0.0

float cc_vertex::y

The Y coordinate of this vertex from the upper-left corner of the screen.

Since:
1.0.0

float cc_vertex::z

The Z coordinate or priority of this vertex.

Since:
1.0.0


The documentation for this struct was generated from the following file:
SourceForge.net Logo