CrystalSpace

Public API Reference

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

csRenderMesh Struct Reference
[3D]

Mesh data as returned by mesh plugins. More...

#include <rendermesh.h>

Inheritance diagram for csRenderMesh:

csCoreRenderMesh csRenderMeshModes List of all members.

Public Attributes

void * geometryInstance
 Some unique ID for the geometry used to render this mesh Used for sorting purposes, and is allowed to be 0, although that means non-optimal mesh sorting at rendering.

iPortalContainerportal
 Pointer to a portalcontainer, if there is any.

csRef< iShaderVariableContextvariablecontext
 @ Document me.

uint lastFrame
 Number of the frame this rendermesh was used in last.

csVector3 camera_origin
 Camera coordinate of the local 0,0,0 point of the object.


Detailed Description

Mesh data as returned by mesh plugins.

Contains both the data needed for rendering as well as some additional data for preprocessing.

Definition at line 146 of file rendermesh.h.


Member Data Documentation

csVector3 csRenderMesh::camera_origin
 

Camera coordinate of the local 0,0,0 point of the object.

Definition at line 177 of file rendermesh.h.

void* csRenderMesh::geometryInstance
 

Some unique ID for the geometry used to render this mesh Used for sorting purposes, and is allowed to be 0, although that means non-optimal mesh sorting at rendering.

Definition at line 162 of file rendermesh.h.

uint csRenderMesh::lastFrame
 

Number of the frame this rendermesh was used in last.

Can be used to determine whether a rendermesh is currently in use.

Definition at line 174 of file rendermesh.h.

iPortalContainer* csRenderMesh::portal
 

Pointer to a portalcontainer, if there is any.

Definition at line 165 of file rendermesh.h.

csRef<iShaderVariableContext> csRenderMesh::variablecontext
 

@ Document me.

@

Definition at line 168 of file rendermesh.h.


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