CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

G3DPolygonMesh Struct Reference
[3D]

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

#include <graph3d.h>

List of all members.

Public Types

enum  VertexMode { VM_WORLDSPACE, VM_VIEWSPACE }
 Types of vertices supplied. More...


Public Attributes

iPolygonBufferpolybuf
 Polygon buffer. More...

uint mixmode
 Mixmode. More...

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

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

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

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

VertexMode vertex_mode
 Type of vertices supplied. More...

G3DFogInfovertex_fog
 Information for fogging the vertices. More...


Detailed Description

Structure containing all info needed by DrawPolygonMesh.

In theory this function is capable of:

To disable the use of one of the components, set it to NULL.

Definition at line 429 of file graph3d.h.


Member Enumeration Documentation

enum G3DPolygonMesh::VertexMode
 

Types of vertices supplied.

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

Definition at line 451 of file graph3d.h.


Member Data Documentation

int G3DPolygonMesh::clip_plane
 

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

Definition at line 443 of file graph3d.h.

int G3DPolygonMesh::clip_portal
 

Clip to portal? One of CS_CLIP_???.

Definition at line 441 of file graph3d.h.

int G3DPolygonMesh::clip_z_plane
 

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

Definition at line 445 of file graph3d.h.

bool G3DPolygonMesh::do_mirror
 

Consider polygon vertices in anti-clockwise order if true.

Definition at line 448 of file graph3d.h.

uint G3DPolygonMesh::mixmode
 

Mixmode.

Definition at line 438 of file graph3d.h.

iPolygonBuffer* G3DPolygonMesh::polybuf
 

Polygon buffer.

Definition at line 432 of file graph3d.h.

G3DFogInfo* G3DPolygonMesh::vertex_fog
 

Information for fogging the vertices.

Definition at line 463 of file graph3d.h.

VertexMode G3DPolygonMesh::vertex_mode
 

Type of vertices supplied.

Definition at line 460 of file graph3d.h.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.14