Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

...

NameDescription
Clear()

Clears this mesh.

Create()

Creates an RtMesh.

Create(Geo::s32, Geo::s32)

Creates an RtMesh.

Create(const Geo::GeoPoint3 *, Geo::s32, const Geo::s32 *, Geo::s32, const Geo::s32 *)

Creates an RtMesh.

Create(const IRtMesh *)

Creates an RtMesh.

GetNumRtTriangles()

Returns how many triangles in the mesh.

GetNumRtTriangles()

Returns how many triangles in the mesh.

GetNumRtVertices()

Returns how many vertices in the mesh.

GetNumRtVertices()

Returns how many vertices in the mesh.

GetRtTrianglePayload(Geo::s32)

Gets the payload data for the given triangle index.

Load(Geo::IGeoInputStream &, Geo::u32)

Load an instance of this class from an IGeoInputStream.

Release()

Free this object that was created within the Enlighten libraries.

Release()

Free this object that was created within the Enlighten libraries.

Save(Geo::IGeoStream &, Geo::u32)

Save an instance of this class to an IGeoStream.

VisitRtMesh(Geo::EmbreeRtMeshVisitor &)

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

VisitRtMesh(EmbreeRtMeshVisitor &)

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

...

Free this object that was created within the Enlighten libraries.

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

...

Free this object that was created within the Enlighten libraries.

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

...