This is the documentation for Enlighten.

class Geo IRtMesh

class Geo::IRtMesh

    └>Geo::IGeoReleasable

An interface used by the raytracers to fill their internal mesh data structures.

Functions

Name Description
GetNumRtTriangles()

Returns how many triangles in the mesh.

GetNumRtVertices()

Returns how many vertices in the mesh.

Release()

Free this object that was created within the Enlighten libraries.

VisitRtMesh(EmbreeRtMeshVisitor &)

Calls methods on the given RtMeshVisitor for each vertex and triangle in the mesh.


virtual Geo::s32 Geo::IRtMesh::GetNumRtTriangles


public: Geo::s32 GetNumRtTriangles() const


Returns how many triangles in the mesh.


virtual Geo::s32 Geo::IRtMesh::GetNumRtVertices


public: Geo::s32 GetNumRtVertices() const


Returns how many vertices in the mesh.


virtual void Geo::IGeoReleasable::Release


public: void Release()


Free this object that was created within the Enlighten libraries.

Expect this to behave in a similar way to calling 'delete(this)'


virtual void Geo::IRtMesh::VisitRtMesh


public: void VisitRtMesh
(
    EmbreeRtMeshVisitor & visitor
) const


Calls methods on the given RtMeshVisitor for each vertex and triangle in the mesh.