HGE Quad structure
Quad is an arbitrary colored and textured four-vertex 2D polygon. It is
fundamental HGE graphic primitive. To describe a quad hgeQuad structure is used:
struct hgeQuad
{
hgeVertex v[4];
HTEXTURE tex;
int blend;
};
Members
- v
- An array of four vertices, describing the quad.
- tex
- Quad's texture handle or 0.
- blend
- Quad's blending mode.
Requirements
Header: hge.h
See also
Gfx_RenderQuad,
Vertex structure,
Blending modes
|