GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
ALLEGRO_VERTEX(3) ALLEGRO_VERTEX(3)

ALLEGRO_VERTEX - Allegro 5 API


#include <allegro5/allegro_primitives.h>
typedef struct ALLEGRO_VERTEX ALLEGRO_VERTEX;

    

Defines the generic vertex type, with a 3D position, color and texture coordinates for a single texture. Note that at this time, the software driver for this addon cannot render 3D primitives. If you want a 2D only primitive, set z to 0. Note that you must initialize all members of this struct when you’re using it. One exception to this rule are the u and v variables which can be left uninitialized when you are not using textures.

Fields:

x, y, z - Position of the vertex (float)
u, v - Texture coordinates measured in pixels (float)
color - ALLEGRO_COLOR(3) structure, storing the color of the vertex

ALLEGRO_PRIM_ATTR(3)
Allegro reference manual

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.