This is the documentation for Enlighten.
class Geo IGeoRayTracingContext
class Geo::IGeoRayTracingContext
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. |
Query which API the interface is using. | |
Total number of rays traced. | |
Ray trace a chunk of rays. Returns true on success. | |
Total number of seconds used on raw ray tracing. | |
Is the context using any hit traversal. | |
Is this object re-entrant and thread safe? | |
Free this object that was created within the Enlighten libraries. | |
Ray trace a chunk of rays. | |
Ray trace a chunk of rays. | |
Ray trace a ray. Returns true on success. | |
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.