CrystalSpace

Public API Reference

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

csPolygonRenderData Struct Reference
[3D]

This structure is used for communicating polygon information to the polygon renderer. More...

#include <polyrender.h>

List of all members.

Public Attributes

csPlane3 plane_obj
 Object space plane of the polygon.

csPolyTextureMappingtmapping
 Texture mapping information.

int num_vertices
 Number of vertices in this polygon.

int * vertices
 Pointer to vertex indices.

csVector3 ** p_obj_verts
 Double pointer to the array of vertices in object space.

bool useLightmap
 Poly uses lightmap.


Detailed Description

This structure is used for communicating polygon information to the polygon renderer.

Definition at line 39 of file polyrender.h.


Member Data Documentation

int csPolygonRenderData::num_vertices
 

Number of vertices in this polygon.

Definition at line 46 of file polyrender.h.

csVector3** csPolygonRenderData::p_obj_verts
 

Double pointer to the array of vertices in object space.

Definition at line 52 of file polyrender.h.

csPlane3 csPolygonRenderData::plane_obj
 

Object space plane of the polygon.

Definition at line 42 of file polyrender.h.

csPolyTextureMapping* csPolygonRenderData::tmapping
 

Texture mapping information.

Definition at line 44 of file polyrender.h.

bool csPolygonRenderData::useLightmap
 

Poly uses lightmap.

Definition at line 54 of file polyrender.h.

int* csPolygonRenderData::vertices
 

Pointer to vertex indices.

Definition at line 48 of file polyrender.h.


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