CrystalSpace

Public API Reference

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

csPolygonRenderData Struct Reference
[3D]

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

#include <ivideo/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.
csVector3 ** objNormals
 Array of normals.


Detailed Description

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

Definition at line 212 of file polyrender.h.


Member Data Documentation

int csPolygonRenderData::num_vertices
 

Number of vertices in this polygon.

Definition at line 219 of file polyrender.h.

csVector3** csPolygonRenderData::objNormals
 

Array of normals.

0 if the plane normal should be used.

Definition at line 231 of file polyrender.h.

csVector3** csPolygonRenderData::p_obj_verts
 

Double pointer to the array of vertices in object space.

Definition at line 225 of file polyrender.h.

csPlane3 csPolygonRenderData::plane_obj
 

Object space plane of the polygon.

Definition at line 215 of file polyrender.h.

csPolyTextureMapping* csPolygonRenderData::tmapping
 

Texture mapping information.

Definition at line 217 of file polyrender.h.

bool csPolygonRenderData::useLightmap
 

Poly uses lightmap.

Definition at line 227 of file polyrender.h.

int* csPolygonRenderData::vertices
 

Pointer to vertex indices.

Definition at line 221 of file polyrender.h.


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