NVIDIA OptiX 7.1 API nvidia_logo_transpbg.gif Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
optix_7_device.h File Reference

Go to the source code of this file.

Functions

static __forceinline__
__device__ void 
optixTrace (OptixTraversableHandle handle, float3 rayOrigin, float3 rayDirection, float tmin, float tmax, float rayTime, OptixVisibilityMask visibilityMask, unsigned int rayFlags, unsigned int SBToffset, unsigned int SBTstride, unsigned int missSBTIndex)
 
static __forceinline__
__device__ void 
optixTrace (OptixTraversableHandle handle, float3 rayOrigin, float3 rayDirection, float tmin, float tmax, float rayTime, OptixVisibilityMask visibilityMask, unsigned int rayFlags, unsigned int SBToffset, unsigned int SBTstride, unsigned int missSBTIndex, unsigned int &p0)
 
static __forceinline__
__device__ void 
optixTrace (OptixTraversableHandle handle, float3 rayOrigin, float3 rayDirection, float tmin, float tmax, float rayTime, OptixVisibilityMask visibilityMask, unsigned int rayFlags, unsigned int SBToffset, unsigned int SBTstride, unsigned int missSBTIndex, unsigned int &p0, unsigned int &p1)
 
static __forceinline__
__device__ void 
optixTrace (OptixTraversableHandle handle, float3 rayOrigin, float3 rayDirection, float tmin, float tmax, float rayTime, OptixVisibilityMask visibilityMask, unsigned int rayFlags, unsigned int SBToffset, unsigned int SBTstride, unsigned int missSBTIndex, unsigned int &p0, unsigned int &p1, unsigned int &p2)
 
static __forceinline__
__device__ void 
optixTrace (OptixTraversableHandle handle, float3 rayOrigin, float3 rayDirection, float tmin, float tmax, float rayTime, OptixVisibilityMask visibilityMask, unsigned int rayFlags, unsigned int SBToffset, unsigned int SBTstride, unsigned int missSBTIndex, unsigned int &p0, unsigned int &p1, unsigned int &p2, unsigned int &p3)
 
static __forceinline__
__device__ void 
optixTrace (OptixTraversableHandle handle, float3 rayOrigin, float3 rayDirection, float tmin, float tmax, float rayTime, OptixVisibilityMask visibilityMask, unsigned int rayFlags, unsigned int SBToffset, unsigned int SBTstride, unsigned int missSBTIndex, unsigned int &p0, unsigned int &p1, unsigned int &p2, unsigned int &p3, unsigned int &p4)
 
static __forceinline__
__device__ void 
optixTrace (OptixTraversableHandle handle, float3 rayOrigin, float3 rayDirection, float tmin, float tmax, float rayTime, OptixVisibilityMask visibilityMask, unsigned int rayFlags, unsigned int SBToffset, unsigned int SBTstride, unsigned int missSBTIndex, unsigned int &p0, unsigned int &p1, unsigned int &p2, unsigned int &p3, unsigned int &p4, unsigned int &p5)
 
static __forceinline__
__device__ void 
optixTrace (OptixTraversableHandle handle, float3 rayOrigin, float3 rayDirection, float tmin, float tmax, float rayTime, OptixVisibilityMask visibilityMask, unsigned int rayFlags, unsigned int SBToffset, unsigned int SBTstride, unsigned int missSBTIndex, unsigned int &p0, unsigned int &p1, unsigned int &p2, unsigned int &p3, unsigned int &p4, unsigned int &p5, unsigned int &p6)
 
static __forceinline__
__device__ void 
optixTrace (OptixTraversableHandle handle, float3 rayOrigin, float3 rayDirection, float tmin, float tmax, float rayTime, OptixVisibilityMask visibilityMask, unsigned int rayFlags, unsigned int SBToffset, unsigned int SBTstride, unsigned int missSBTIndex, unsigned int &p0, unsigned int &p1, unsigned int &p2, unsigned int &p3, unsigned int &p4, unsigned int &p5, unsigned int &p6, unsigned int &p7)
 
static __forceinline__
__device__ void 
optixSetPayload_0 (unsigned int p)
 
static __forceinline__
__device__ void 
optixSetPayload_1 (unsigned int p)
 
static __forceinline__
__device__ void 
optixSetPayload_2 (unsigned int p)
 
static __forceinline__
__device__ void 
optixSetPayload_3 (unsigned int p)
 
static __forceinline__
__device__ void 
optixSetPayload_4 (unsigned int p)
 
static __forceinline__
__device__ void 
optixSetPayload_5 (unsigned int p)
 
static __forceinline__
__device__ void 
optixSetPayload_6 (unsigned int p)
 
static __forceinline__
__device__ void 
optixSetPayload_7 (unsigned int p)
 
static __forceinline__
__device__ unsigned int 
optixGetPayload_0 ()
 
static __forceinline__
__device__ unsigned int 
optixGetPayload_1 ()
 
static __forceinline__
__device__ unsigned int 
optixGetPayload_2 ()
 
static __forceinline__
__device__ unsigned int 
optixGetPayload_3 ()
 
static __forceinline__
__device__ unsigned int 
optixGetPayload_4 ()
 
static __forceinline__
__device__ unsigned int 
optixGetPayload_5 ()
 
static __forceinline__
__device__ unsigned int 
optixGetPayload_6 ()
 
static __forceinline__
__device__ unsigned int 
optixGetPayload_7 ()
 
static __forceinline__
__device__ unsigned int 
optixUndefinedValue ()
 
static __forceinline__
__device__ float3 
optixGetWorldRayOrigin ()
 
static __forceinline__
__device__ float3 
optixGetWorldRayDirection ()
 
static __forceinline__
__device__ float3 
optixGetObjectRayOrigin ()
 
static __forceinline__
__device__ float3 
optixGetObjectRayDirection ()
 
static __forceinline__
__device__ float 
optixGetRayTmin ()
 
static __forceinline__
__device__ float 
optixGetRayTmax ()
 
static __forceinline__
__device__ float 
optixGetRayTime ()
 
static __forceinline__
__device__ unsigned int 
optixGetRayFlags ()
 
static __forceinline__
__device__ unsigned int 
optixGetRayVisibilityMask ()
 
static __forceinline__
__device__ void 
optixGetTriangleVertexData (OptixTraversableHandle gas, unsigned int primIdx, unsigned int sbtGASIndex, float time, float3 data[3])
 
static __forceinline__
__device__ void 
optixGetLinearCurveVertexData (OptixTraversableHandle gas, unsigned int primIdx, unsigned int sbtGASIndex, float time, float4 data[2])
 
static __forceinline__
__device__ void 
optixGetQuadraticBSplineVertexData (OptixTraversableHandle gas, unsigned int primIdx, unsigned int sbtGASIndex, float time, float4 data[3])
 
static __forceinline__
__device__ void 
optixGetCubicBSplineVertexData (OptixTraversableHandle gas, unsigned int primIdx, unsigned int sbtGASIndex, float time, float4 data[4])
 
static __forceinline__
__device__
OptixTraversableHandle 
optixGetGASTraversableHandle ()
 
static __forceinline__
__device__ float 
optixGetGASMotionTimeBegin (OptixTraversableHandle gas)
 
static __forceinline__
__device__ float 
optixGetGASMotionTimeEnd (OptixTraversableHandle gas)
 
static __forceinline__
__device__ unsigned int 
optixGetGASMotionStepCount (OptixTraversableHandle gas)
 
static __forceinline__
__device__ void 
optixGetWorldToObjectTransformMatrix (float m[12])
 
static __forceinline__
__device__ void 
optixGetObjectToWorldTransformMatrix (float m[12])
 
static __forceinline__
__device__ float3 
optixTransformPointFromWorldToObjectSpace (float3 point)
 
static __forceinline__
__device__ float3 
optixTransformVectorFromWorldToObjectSpace (float3 vec)
 
static __forceinline__
__device__ float3 
optixTransformNormalFromWorldToObjectSpace (float3 normal)
 
static __forceinline__
__device__ float3 
optixTransformPointFromObjectToWorldSpace (float3 point)
 
static __forceinline__
__device__ float3 
optixTransformVectorFromObjectToWorldSpace (float3 vec)
 
static __forceinline__
__device__ float3 
optixTransformNormalFromObjectToWorldSpace (float3 normal)
 
static __forceinline__
__device__ unsigned int 
optixGetTransformListSize ()
 
static __forceinline__
__device__
OptixTraversableHandle 
optixGetTransformListHandle (unsigned int index)
 
static __forceinline__
__device__ OptixTransformType 
optixGetTransformTypeFromHandle (OptixTraversableHandle handle)
 
static __forceinline__
__device__ const
OptixStaticTransform
optixGetStaticTransformFromHandle (OptixTraversableHandle handle)
 
static __forceinline__
__device__ const
OptixSRTMotionTransform
optixGetSRTMotionTransformFromHandle (OptixTraversableHandle handle)
 
static __forceinline__
__device__ const
OptixMatrixMotionTransform
optixGetMatrixMotionTransformFromHandle (OptixTraversableHandle handle)
 
static __forceinline__
__device__ unsigned int 
optixGetInstanceIdFromHandle (OptixTraversableHandle handle)
 
static __forceinline__
__device__ const float4 * 
optixGetInstanceTransformFromHandle (OptixTraversableHandle handle)
 
static __forceinline__
__device__ const float4 * 
optixGetInstanceInverseTransformFromHandle (OptixTraversableHandle handle)
 
static __forceinline__
__device__ bool 
optixReportIntersection (float hitT, unsigned int hitKind)
 
static __forceinline__
__device__ bool 
optixReportIntersection (float hitT, unsigned int hitKind, unsigned int a0)
 
static __forceinline__
__device__ bool 
optixReportIntersection (float hitT, unsigned int hitKind, unsigned int a0, unsigned int a1)
 
static __forceinline__
__device__ bool 
optixReportIntersection (float hitT, unsigned int hitKind, unsigned int a0, unsigned int a1, unsigned int a2)
 
static __forceinline__
__device__ bool 
optixReportIntersection (float hitT, unsigned int hitKind, unsigned int a0, unsigned int a1, unsigned int a2, unsigned int a3)
 
static __forceinline__
__device__ bool 
optixReportIntersection (float hitT, unsigned int hitKind, unsigned int a0, unsigned int a1, unsigned int a2, unsigned int a3, unsigned int a4)
 
static __forceinline__
__device__ bool 
optixReportIntersection (float hitT, unsigned int hitKind, unsigned int a0, unsigned int a1, unsigned int a2, unsigned int a3, unsigned int a4, unsigned int a5)
 
static __forceinline__
__device__ bool 
optixReportIntersection (float hitT, unsigned int hitKind, unsigned int a0, unsigned int a1, unsigned int a2, unsigned int a3, unsigned int a4, unsigned int a5, unsigned int a6)
 
static __forceinline__
__device__ bool 
optixReportIntersection (float hitT, unsigned int hitKind, unsigned int a0, unsigned int a1, unsigned int a2, unsigned int a3, unsigned int a4, unsigned int a5, unsigned int a6, unsigned int a7)
 
static __forceinline__
__device__ unsigned int 
optixGetAttribute_0 ()
 
static __forceinline__
__device__ unsigned int 
optixGetAttribute_1 ()
 
static __forceinline__
__device__ unsigned int 
optixGetAttribute_2 ()
 
static __forceinline__
__device__ unsigned int 
optixGetAttribute_3 ()
 
static __forceinline__
__device__ unsigned int 
optixGetAttribute_4 ()
 
static __forceinline__
__device__ unsigned int 
optixGetAttribute_5 ()
 
static __forceinline__
__device__ unsigned int 
optixGetAttribute_6 ()
 
static __forceinline__
__device__ unsigned int 
optixGetAttribute_7 ()
 
static __forceinline__
__device__ void 
optixTerminateRay ()
 
static __forceinline__
__device__ void 
optixIgnoreIntersection ()
 
static __forceinline__
__device__ unsigned int 
optixGetPrimitiveIndex ()
 
static __forceinline__
__device__ unsigned int 
optixGetSbtGASIndex ()
 
static __forceinline__
__device__ unsigned int 
optixGetInstanceId ()
 
static __forceinline__
__device__ unsigned int 
optixGetInstanceIndex ()
 
static __forceinline__
__device__ unsigned int 
optixGetHitKind ()
 
static __forceinline__
__device__ OptixPrimitiveType 
optixGetPrimitiveType (unsigned int hitKind)
 
static __forceinline__
__device__ bool 
optixIsFrontFaceHit (unsigned int hitKind)
 
static __forceinline__
__device__ bool 
optixIsBackFaceHit (unsigned int hitKind)
 
static __forceinline__
__device__ OptixPrimitiveType 
optixGetPrimitiveType ()
 
static __forceinline__
__device__ bool 
optixIsFrontFaceHit ()
 
static __forceinline__
__device__ bool 
optixIsBackFaceHit ()
 
static __forceinline__
__device__ bool 
optixIsTriangleHit ()
 
static __forceinline__
__device__ bool 
optixIsTriangleFrontFaceHit ()
 
static __forceinline__
__device__ bool 
optixIsTriangleBackFaceHit ()
 
static __forceinline__
__device__ float2 
optixGetTriangleBarycentrics ()
 
static __forceinline__
__device__ float 
optixGetCurveParameter ()
 
static __forceinline__
__device__ uint3 
optixGetLaunchIndex ()
 
static __forceinline__
__device__ uint3 
optixGetLaunchDimensions ()
 
static __forceinline__
__device__ CUdeviceptr 
optixGetSbtDataPointer ()
 
static __forceinline__
__device__ void 
optixThrowException (int exceptionCode)
 
static __forceinline__
__device__ void 
optixThrowException (int exceptionCode, unsigned int exceptionDetail0)
 
static __forceinline__
__device__ void 
optixThrowException (int exceptionCode, unsigned int exceptionDetail0, unsigned int exceptionDetail1)
 
static __forceinline__
__device__ void 
optixThrowException (int exceptionCode, unsigned int exceptionDetail0, unsigned int exceptionDetail1, unsigned int exceptionDetail2)
 
static __forceinline__
__device__ void 
optixThrowException (int exceptionCode, unsigned int exceptionDetail0, unsigned int exceptionDetail1, unsigned int exceptionDetail2, unsigned int exceptionDetail3)
 
static __forceinline__
__device__ void 
optixThrowException (int exceptionCode, unsigned int exceptionDetail0, unsigned int exceptionDetail1, unsigned int exceptionDetail2, unsigned int exceptionDetail3, unsigned int exceptionDetail4)
 
static __forceinline__
__device__ void 
optixThrowException (int exceptionCode, unsigned int exceptionDetail0, unsigned int exceptionDetail1, unsigned int exceptionDetail2, unsigned int exceptionDetail3, unsigned int exceptionDetail4, unsigned int exceptionDetail5)
 
static __forceinline__
__device__ void 
optixThrowException (int exceptionCode, unsigned int exceptionDetail0, unsigned int exceptionDetail1, unsigned int exceptionDetail2, unsigned int exceptionDetail3, unsigned int exceptionDetail4, unsigned int exceptionDetail5, unsigned int exceptionDetail6)
 
static __forceinline__
__device__ void 
optixThrowException (int exceptionCode, unsigned int exceptionDetail0, unsigned int exceptionDetail1, unsigned int exceptionDetail2, unsigned int exceptionDetail3, unsigned int exceptionDetail4, unsigned int exceptionDetail5, unsigned int exceptionDetail6, unsigned int exceptionDetail7)
 
static __forceinline__
__device__ int 
optixGetExceptionCode ()
 
static __forceinline__
__device__ unsigned int 
optixGetExceptionDetail_0 ()
 
static __forceinline__
__device__ unsigned int 
optixGetExceptionDetail_1 ()
 
static __forceinline__
__device__ unsigned int 
optixGetExceptionDetail_2 ()
 
static __forceinline__
__device__ unsigned int 
optixGetExceptionDetail_3 ()
 
static __forceinline__
__device__ unsigned int 
optixGetExceptionDetail_4 ()
 
static __forceinline__
__device__ unsigned int 
optixGetExceptionDetail_5 ()
 
static __forceinline__
__device__ unsigned int 
optixGetExceptionDetail_6 ()
 
static __forceinline__
__device__ unsigned int 
optixGetExceptionDetail_7 ()
 
static __forceinline__
__device__
OptixTraversableHandle 
optixGetExceptionInvalidTraversable ()
 
static __forceinline__
__device__ int 
optixGetExceptionInvalidSbtOffset ()
 
static __forceinline__
__device__
OptixInvalidRayExceptionDetails 
optixGetExceptionInvalidRay ()
 
static __forceinline__
__device__
OptixParameterMismatchExceptionDetails 
optixGetExceptionParameterMismatch ()
 
static __forceinline__
__device__ char * 
optixGetExceptionLineInfo ()
 
template<typename ReturnT , typename... ArgTypes>
static __forceinline__
__device__ ReturnT 
optixDirectCall (unsigned int sbtIndex, ArgTypes...args)
 
template<typename ReturnT , typename... ArgTypes>
static __forceinline__
__device__ ReturnT 
optixContinuationCall (unsigned int sbtIndex, ArgTypes...args)
 

Detailed Description

OptiX public API header.

Author
NVIDIA Corporation OptiX public API Reference - Device API declarations