HGE Triple structure
Triple is an arbitrary colored and textured 2D triangle.
To describe a triple hgeTriple structure is used:
struct hgeTriple
{
hgeVertex v[3];
HTEXTURE tex;
int blend;
};
Members
- v
- An array of three vertices, describing the triple.
- tex
- Triple's texture handle or 0.
- blend
- Triple's blending mode.
Requirements
Header: hge.h
See also
Gfx_RenderTriple,
Vertex structure,
Blending modes
|