Main Page   Class Hierarchy   Compound List   File List   Compound Members  

G3DPolygonMesh Struct Reference

Structure containing all info needed by DrawPolygonMesh. More...

#include <graph3d.h>

List of all members.

Public Types

 Type of vertices supplied. More...

Public Attributes

 Polygon buffer.

bool do_fog
uint mixmode

int clip_portal
 Clip to portal? One of CS_CLIP_???.

int clip_plane
 Clip to near plane? One of CS_CLIP_???.

int clip_z_plane
 Clip to z plane? One of CS_CLIP_???.

bool do_mirror
 Consider polygon vertices in anti-clockwise order if true.

enum G3DPolygonMesh:: { ... }  vertex_mode
 Type of vertices supplied.

 Information for fogging the vertices.

Detailed Description

Structure containing all info needed by DrawPolygonMesh.

In theory this function is capable of:

  • Object2camera transformation and perspective.
  • Clipping.
  • Whatever else DrawPolygon can do.
To disable the use of one of the components, set it to NULL.

Member Enumeration Documentation

anonymous enum

Type of vertices supplied.

Enumeration values:
VM_WORLDSPACE   Must apply transformation and perspective.
VM_VIEWSPACE   Must apply perspective.

The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000