An interface used by the raytracers to fill their internal mesh data structures.
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. |
public: Geo::s32 GetNumRtTriangles() const
Returns how many triangles in the mesh.
public: Geo::s32 GetNumRtVertices() const
Returns how many vertices in the mesh.
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)'
public: void VisitRtMesh
(
EmbreeRtMeshVisitor & visitor
) const
Calls methods on the given RtMeshVisitor for each vertex and triangle in the mesh.