class Geo IGeoRayTracingContext

This is the documentation for Enlighten.

class Geo IGeoRayTracingContext

class Geo::IGeoRayTracingContext

    └>Geo::IGeoReleasable

Ray-tracing context.

Functions

Name

Description

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.