This is the documentation for Enlighten.

class Geo IGeoRayTracingContext

class Geo::IGeoRayTracingContext

    └>Geo::IGeoReleasable

Ray-tracing context.

Functions

Name Description
DistanceQuery(const Geo::v128 &, const Geo::v128 &, Geo::u32)

Ray trace a ray built from origin and direction. Returns length of ray.

GetAPI()

Query which API the interface is using.

GetNumRaysTraced()

Total number of rays traced.

GetNumTriangles()

Ray trace a chunk of rays. Returns true on success.

GetRayTraceSecs()

Total number of seconds used on raw ray tracing.

IsAnyHitTraversal()

Is the context using any hit traversal.

ReentrantAndThreadSafe()

Is this object re-entrant and thread safe?

Release()

Free this object that was created within the Enlighten libraries.

TraceChunk(Geo::RayChunk *)

Ray trace a chunk of rays.

TraceChunk(Geo::ClippedRayChunk *)

Ray trace a chunk of rays.

TraceRay(const Geo::ClippedRay &, RayResult &, Geo::u32)

Ray trace a ray. Returns true on success.

TraceRay(const Geo::v128 &, const Geo::v128 &, Geo::u32)

Ray trace a ray built from origin and direction. Returns full ray info.


float Geo::IGeoRayTracingContext::DistanceQuery


public: float DistanceQuery
(
    const Geo::v128 & origin,
    const Geo::v128 & direction,
    Geo::u32 filter
) const


Ray trace a ray built from origin and direction. Returns length of ray.


virtual eRTAPI Geo::IGeoRayTracingContext::GetAPI


public: eRTAPI GetAPI() const


Query which API the interface is using.


virtual Geo::u64 Geo::IGeoRayTracingContext::GetNumRaysTraced


public: Geo::u64 GetNumRaysTraced() const


Total number of rays traced.


virtual Geo::s32 Geo::IGeoRayTracingContext::GetNumTriangles


public: Geo::s32 GetNumTriangles() const


Ray trace a chunk of rays. Returns true on success.


virtual double Geo::IGeoRayTracingContext::GetRayTraceSecs


public: double GetRayTraceSecs() const


Total number of seconds used on raw ray tracing.


virtual bool Geo::IGeoRayTracingContext::IsAnyHitTraversal


public: bool IsAnyHitTraversal() const


Is the context using any hit traversal.


virtual bool Geo::IGeoRayTracingContext::ReentrantAndThreadSafe


public: bool ReentrantAndThreadSafe() const


Is this object re-entrant and thread safe?


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 bool Geo::IGeoRayTracingContext::TraceChunk


public: bool TraceChunk
(
    Geo::RayChunk * chunk
) const


Ray trace a chunk of rays.

Returns true on success.


virtual bool Geo::IGeoRayTracingContext::TraceChunk


public: bool TraceChunk
(
    Geo::ClippedRayChunk * chunk
) const


Ray trace a chunk of rays.

Returns true on success.


virtual bool Geo::IGeoRayTracingContext::TraceRay


public: bool TraceRay
(
    const Geo::ClippedRay & ray,
    RayResult & rayResult,
    Geo::u32 filter
) const


Ray trace a ray. Returns true on success.


RayResult Geo::IGeoRayTracingContext::TraceRay


public: RayResult TraceRay
(
    const Geo::v128 & origin,
    const Geo::v128 & direction,
    Geo::u32 filter
) const


Ray trace a ray built from origin and direction. Returns full ray info.