NVIDIA OptiX 8.1 nvidia_logo_transpbg.gif Up
optix_impl Namespace Reference

Functions

static __forceinline__ __device__ float4 optixAddFloat4 (const float4 &a, const float4 &b)
 
static __forceinline__ __device__ float4 optixMulFloat4 (const float4 &a, float b)
 
static __forceinline__ __device__ uint4 optixLdg (unsigned long long addr)
 
template<class T>
static __forceinline__ __device__ T optixLoadReadOnlyAlign16 (const T *ptr)
 
static __forceinline__ __device__ float4 optixMultiplyRowMatrix (const float4 vec, const float4 m0, const float4 m1, const float4 m2)
 
static __forceinline__ __device__ void optixGetMatrixFromSrt (float4 &m0, float4 &m1, float4 &m2, const OptixSRTData &srt)
 
static __forceinline__ __device__ void optixInvertMatrix (float4 &m0, float4 &m1, float4 &m2)
 
static __forceinline__ __device__ void optixLoadInterpolatedMatrixKey (float4 &m0, float4 &m1, float4 &m2, const float4 *matrix, const float t1)
 
static __forceinline__ __device__ void optixLoadInterpolatedSrtKey (float4 &srt0, float4 &srt1, float4 &srt2, float4 &srt3, const float4 *srt, const float t1)
 
static __forceinline__ __device__ void optixResolveMotionKey (float &localt, int &key, const OptixMotionOptions &options, const float globalt)
 
static __forceinline__ __device__ void optixGetInterpolatedTransformation (float4 &trf0, float4 &trf1, float4 &trf2, const OptixMatrixMotionTransform *transformData, const float time)
 
static __forceinline__ __device__ void optixGetInterpolatedTransformation (float4 &trf0, float4 &trf1, float4 &trf2, const OptixSRTMotionTransform *transformData, const float time)
 
static __forceinline__ __device__ void optixGetInterpolatedTransformationFromHandle (float4 &trf0, float4 &trf1, float4 &trf2, const OptixTraversableHandle handle, const float time, const bool objectToWorld)
 
static __forceinline__ __device__ void optixGetWorldToObjectTransformMatrix (float4 &m0, float4 &m1, float4 &m2)
 
static __forceinline__ __device__ void optixGetObjectToWorldTransformMatrix (float4 &m0, float4 &m1, float4 &m2)
 
static __forceinline__ __device__ float3 optixTransformPoint (const float4 &m0, const float4 &m1, const float4 &m2, const float3 &p)
 
static __forceinline__ __device__ float3 optixTransformVector (const float4 &m0, const float4 &m1, const float4 &m2, const float3 &v)
 
static __forceinline__ __device__ float3 optixTransformNormal (const float4 &m0, const float4 &m1, const float4 &m2, const float3 &n)
 
OPTIX_MICROMAP_INLINE_FUNC float __uint_as_float (unsigned int x)
 
OPTIX_MICROMAP_INLINE_FUNC unsigned int extractEvenBits (unsigned int x)
 
OPTIX_MICROMAP_INLINE_FUNC unsigned int prefixEor (unsigned int x)
 
OPTIX_MICROMAP_INLINE_FUNC void index2dbary (unsigned int index, unsigned int &u, unsigned int &v, unsigned int &w)
 
OPTIX_MICROMAP_INLINE_FUNC void micro2bary (unsigned int index, unsigned int subdivisionLevel, float2 &bary0, float2 &bary1, float2 &bary2)
 
OPTIX_MICROMAP_INLINE_FUNC float2 base2micro (const float2 &baseBarycentrics, const float2 microVertexBaseBarycentrics[3])
 

Function Documentation

 optixAddFloat4()

static __forceinline__ __device__ float4 optix_impl::optixAddFloat4 ( const float4 &  a,
const float4 &  b 
)
static

 optixGetInterpolatedTransformation() [1/2]

static __forceinline__ __device__ void optix_impl::optixGetInterpolatedTransformation ( float4 &  trf0,
float4 &  trf1,
float4 &  trf2,
const OptixMatrixMotionTransform transformData,
const float  time 
)
static

 optixGetInterpolatedTransformation() [2/2]

static __forceinline__ __device__ void optix_impl::optixGetInterpolatedTransformation ( float4 &  trf0,
float4 &  trf1,
float4 &  trf2,
const OptixSRTMotionTransform transformData,
const float  time 
)
static

 optixGetInterpolatedTransformationFromHandle()

static __forceinline__ __device__ void optix_impl::optixGetInterpolatedTransformationFromHandle ( float4 &  trf0,
float4 &  trf1,
float4 &  trf2,
const OptixTraversableHandle  handle,
const float  time,
const bool  objectToWorld 
)
static

 optixGetMatrixFromSrt()

static __forceinline__ __device__ void optix_impl::optixGetMatrixFromSrt ( float4 &  m0,
float4 &  m1,
float4 &  m2,
const OptixSRTData srt 
)
static

 optixGetObjectToWorldTransformMatrix()

static __forceinline__ __device__ void optix_impl::optixGetObjectToWorldTransformMatrix ( float4 &  m0,
float4 &  m1,
float4 &  m2 
)
static

 optixGetWorldToObjectTransformMatrix()

static __forceinline__ __device__ void optix_impl::optixGetWorldToObjectTransformMatrix ( float4 &  m0,
float4 &  m1,
float4 &  m2 
)
static

 optixInvertMatrix()

static __forceinline__ __device__ void optix_impl::optixInvertMatrix ( float4 &  m0,
float4 &  m1,
float4 &  m2 
)
static

 optixLdg()

static __forceinline__ __device__ uint4 optix_impl::optixLdg ( unsigned long long  addr)
static

 optixLoadInterpolatedMatrixKey()

static __forceinline__ __device__ void optix_impl::optixLoadInterpolatedMatrixKey ( float4 &  m0,
float4 &  m1,
float4 &  m2,
const float4 *  matrix,
const float  t1 
)
static

 optixLoadInterpolatedSrtKey()

static __forceinline__ __device__ void optix_impl::optixLoadInterpolatedSrtKey ( float4 &  srt0,
float4 &  srt1,
float4 &  srt2,
float4 &  srt3,
const float4 *  srt,
const float  t1 
)
static

 optixLoadReadOnlyAlign16()

template<class T>
static __forceinline__ __device__ T optix_impl::optixLoadReadOnlyAlign16 ( const T *  ptr)
static

 optixMulFloat4()

static __forceinline__ __device__ float4 optix_impl::optixMulFloat4 ( const float4 &  a,
float  b 
)
static

 optixMultiplyRowMatrix()

static __forceinline__ __device__ float4 optix_impl::optixMultiplyRowMatrix ( const float4  vec,
const float4  m0,
const float4  m1,
const float4  m2 
)
static

 optixResolveMotionKey()

static __forceinline__ __device__ void optix_impl::optixResolveMotionKey ( float &  localt,
int &  key,
const OptixMotionOptions options,
const float  globalt 
)
static

 optixTransformNormal()

static __forceinline__ __device__ float3 optix_impl::optixTransformNormal ( const float4 &  m0,
const float4 &  m1,
const float4 &  m2,
const float3 &  n 
)
static

 optixTransformPoint()

static __forceinline__ __device__ float3 optix_impl::optixTransformPoint ( const float4 &  m0,
const float4 &  m1,
const float4 &  m2,
const float3 &  p 
)
static

 optixTransformVector()

static __forceinline__ __device__ float3 optix_impl::optixTransformVector ( const float4 &  m0,
const float4 &  m1,
const float4 &  m2,
const float3 &  v 
)
static