CrystalSpace

Public API Reference

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

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.

uint mixmode
 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.

VertexMode vertex_mode
 Type of vertices supplied.

G3DFogInfovertex_fog
 Information for fogging the vertices.


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 0.

Definition at line 615 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 637 of file graph3d.h.


Member Data Documentation

int G3DPolygonMesh::clip_plane
 

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

Definition at line 629 of file graph3d.h.

int G3DPolygonMesh::clip_portal
 

Clip to portal? One of CS_CLIP_???.

Definition at line 627 of file graph3d.h.

int G3DPolygonMesh::clip_z_plane
 

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

Definition at line 631 of file graph3d.h.

bool G3DPolygonMesh::do_mirror
 

Consider polygon vertices in anti-clockwise order if true.

Definition at line 634 of file graph3d.h.

uint G3DPolygonMesh::mixmode
 

Mixmode.

Definition at line 624 of file graph3d.h.

iPolygonBuffer* G3DPolygonMesh::polybuf
 

Polygon buffer.

Definition at line 618 of file graph3d.h.

G3DFogInfo* G3DPolygonMesh::vertex_fog
 

Information for fogging the vertices.

Definition at line 649 of file graph3d.h.

VertexMode G3DPolygonMesh::vertex_mode
 

Type of vertices supplied.

Definition at line 646 of file graph3d.h.


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