This is the documentation for Enlighten.
class Geo RtMesh
class Geo::RtMesh
└>Geo::IRtMesh
└>Geo::IGeoReleasable
A mesh container that can be stored to disk and used later as a ray tracing mesh.
Note that it assumes that the triangles are in the 'correct' Enlighten winding order; if this is not the case, the user should be implementing IRtMesh themselves.
Functions
Name | Description |
|---|---|
Clears this mesh. | |
Creates an RtMesh. | |
Creates an RtMesh. | |
Create(const Geo::GeoPoint3 *, Geo::s32, const Geo::s32 *, Geo::s32, const Geo::s32 *) | Creates an RtMesh. |
Creates an RtMesh. | |
Returns how many triangles in the mesh. | |
Returns how many triangles in the mesh. | |
Returns how many vertices in the mesh. | |
Returns how many vertices in the mesh. | |
Gets the payload data for the given triangle index. | |
Load an instance of this class from an IGeoInputStream. | |
Free this object that was created within the Enlighten libraries. | |
Free this object that was created within the Enlighten libraries. | |
Save an instance of this class to an IGeoStream. | |
Calls methods on the given RtMeshVisitor for each vertex and triangle in the mesh. | |
Calls methods on the given RtMeshVisitor for each vertex and triangle in the mesh. |
void Geo::RtMesh::Clear
public: void Clear()
Clears this mesh.
static RtMesh* Geo::RtMesh::Create
public: RtMesh * Create()
Creates an RtMesh.
static RtMesh* Geo::RtMesh::Create
public: RtMesh * Create
(
Geo::s32 numVertices,
Geo::s32 numTriangles
)
Creates an RtMesh.