OptiX
3.9
NVIDIA OptiX Acceleration Engine
|
OptiX public API.
The syntax is modelled on the Cg standard library.
This file has also been modified from the original cutil_math.h file. cutil_math.h is a subset of this file, and you should use this file in place of any cutil_math.h file you wish to use.
Go to the source code of this file.
Classes | |
struct | optix::Onb |
Macros | |
#define | OPTIXU_INLINE_DEFINED 1 |
#define | OPTIXU_INLINE __forceinline__ |
#define | OPTIXU_MATH_DEFINE_IN_NAMESPACE |
Typedefs | |
typedef unsigned int | optix::uint |
typedef unsigned short | optix::ushort |
Functions | |
OPTIXU_INLINE float | optix::fminf (const float a, const float b) |
OPTIXU_INLINE float | optix::fmaxf (const float a, const float b) |
OPTIXU_INLINE float | optix::copysignf (const float dst, const float src) |
OPTIXU_INLINE int | optix::max (int a, int b) |
OPTIXU_INLINE int | optix::min (int a, int b) |
OPTIXU_INLINE int | optix::float_as_int (const float f) |
OPTIXU_INLINE float | optix::int_as_float (int i) |
OPTIXU_INLINE RT_HOSTDEVICE float | optix::lerp (const float a, const float b, const float t) |
OPTIXU_INLINE RT_HOSTDEVICE float | optix::bilerp (const float x00, const float x10, const float x01, const float x11, const float u, const float v) |
OPTIXU_INLINE RT_HOSTDEVICE float | optix::clamp (const float f, const float a, const float b) |
OPTIXU_INLINE RT_HOSTDEVICE float | optix::getByIndex (const float1 &v, int i) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::setByIndex (float1 &v, int i, float x) |
OPTIXU_INLINE RT_HOSTDEVICE float2 | optix::operator- (const float2 &a) |
OPTIXU_INLINE RT_HOSTDEVICE float2 | optix::lerp (const float2 &a, const float2 &b, const float t) |
OPTIXU_INLINE RT_HOSTDEVICE float2 | optix::bilerp (const float2 &x00, const float2 &x10, const float2 &x01, const float2 &x11, const float u, const float v) |
OPTIXU_INLINE RT_HOSTDEVICE float | optix::dot (const float2 &a, const float2 &b) |
OPTIXU_INLINE RT_HOSTDEVICE float | optix::length (const float2 &v) |
OPTIXU_INLINE RT_HOSTDEVICE float2 | optix::normalize (const float2 &v) |
OPTIXU_INLINE RT_HOSTDEVICE float2 | optix::floor (const float2 &v) |
OPTIXU_INLINE RT_HOSTDEVICE float2 | optix::reflect (const float2 &i, const float2 &n) |
OPTIXU_INLINE RT_HOSTDEVICE float2 | optix::faceforward (const float2 &n, const float2 &i, const float2 &nref) |
OPTIXU_INLINE RT_HOSTDEVICE float2 | optix::expf (const float2 &v) |
OPTIXU_INLINE RT_HOSTDEVICE float | optix::getByIndex (const float2 &v, int i) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::setByIndex (float2 &v, int i, float x) |
OPTIXU_INLINE RT_HOSTDEVICE float3 | optix::operator- (const float3 &a) |
OPTIXU_INLINE RT_HOSTDEVICE float3 | optix::lerp (const float3 &a, const float3 &b, const float t) |
OPTIXU_INLINE RT_HOSTDEVICE float3 | optix::bilerp (const float3 &x00, const float3 &x10, const float3 &x01, const float3 &x11, const float u, const float v) |
OPTIXU_INLINE RT_HOSTDEVICE float | optix::dot (const float3 &a, const float3 &b) |
OPTIXU_INLINE RT_HOSTDEVICE float3 | optix::cross (const float3 &a, const float3 &b) |
OPTIXU_INLINE RT_HOSTDEVICE float | optix::length (const float3 &v) |
OPTIXU_INLINE RT_HOSTDEVICE float3 | optix::normalize (const float3 &v) |
OPTIXU_INLINE RT_HOSTDEVICE float3 | optix::floor (const float3 &v) |
OPTIXU_INLINE RT_HOSTDEVICE float3 | optix::reflect (const float3 &i, const float3 &n) |
OPTIXU_INLINE RT_HOSTDEVICE float3 | optix::faceforward (const float3 &n, const float3 &i, const float3 &nref) |
OPTIXU_INLINE RT_HOSTDEVICE float3 | optix::expf (const float3 &v) |
OPTIXU_INLINE RT_HOSTDEVICE float | optix::getByIndex (const float3 &v, int i) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::setByIndex (float3 &v, int i, float x) |
OPTIXU_INLINE RT_HOSTDEVICE float4 | optix::operator- (const float4 &a) |
OPTIXU_INLINE RT_HOSTDEVICE float4 | optix::lerp (const float4 &a, const float4 &b, const float t) |
OPTIXU_INLINE RT_HOSTDEVICE float4 | optix::bilerp (const float4 &x00, const float4 &x10, const float4 &x01, const float4 &x11, const float u, const float v) |
OPTIXU_INLINE RT_HOSTDEVICE float | optix::dot (const float4 &a, const float4 &b) |
OPTIXU_INLINE RT_HOSTDEVICE float | optix::length (const float4 &r) |
OPTIXU_INLINE RT_HOSTDEVICE float4 | optix::normalize (const float4 &v) |
OPTIXU_INLINE RT_HOSTDEVICE float4 | optix::floor (const float4 &v) |
OPTIXU_INLINE RT_HOSTDEVICE float4 | optix::reflect (const float4 &i, const float4 &n) |
OPTIXU_INLINE RT_HOSTDEVICE float4 | optix::faceforward (const float4 &n, const float4 &i, const float4 &nref) |
OPTIXU_INLINE RT_HOSTDEVICE float4 | optix::expf (const float4 &v) |
OPTIXU_INLINE RT_HOSTDEVICE float | optix::getByIndex (const float4 &v, int i) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::setByIndex (float4 &v, int i, float x) |
OPTIXU_INLINE RT_HOSTDEVICE int | optix::clamp (const int f, const int a, const int b) |
OPTIXU_INLINE RT_HOSTDEVICE int | optix::getByIndex (const int1 &v, int i) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::setByIndex (int1 &v, int i, int x) |
OPTIXU_INLINE RT_HOSTDEVICE int2 | optix::operator- (const int2 &a) |
OPTIXU_INLINE RT_HOSTDEVICE int2 | optix::min (const int2 &a, const int2 &b) |
OPTIXU_INLINE RT_HOSTDEVICE int2 | optix::max (const int2 &a, const int2 &b) |
OPTIXU_INLINE RT_HOSTDEVICE int | optix::getByIndex (const int2 &v, int i) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::setByIndex (int2 &v, int i, int x) |
OPTIXU_INLINE RT_HOSTDEVICE int3 | optix::operator- (const int3 &a) |
OPTIXU_INLINE RT_HOSTDEVICE int3 | optix::min (const int3 &a, const int3 &b) |
OPTIXU_INLINE RT_HOSTDEVICE int3 | optix::max (const int3 &a, const int3 &b) |
OPTIXU_INLINE RT_HOSTDEVICE int | optix::getByIndex (const int3 &v, int i) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::setByIndex (int3 &v, int i, int x) |
OPTIXU_INLINE RT_HOSTDEVICE int4 | optix::operator- (const int4 &a) |
OPTIXU_INLINE RT_HOSTDEVICE int4 | optix::min (const int4 &a, const int4 &b) |
OPTIXU_INLINE RT_HOSTDEVICE int4 | optix::max (const int4 &a, const int4 &b) |
OPTIXU_INLINE RT_HOSTDEVICE int | optix::getByIndex (const int4 &v, int i) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::setByIndex (int4 &v, int i, int x) |
OPTIXU_INLINE RT_HOSTDEVICE unsigned int | optix::clamp (const unsigned int f, const unsigned int a, const unsigned int b) |
OPTIXU_INLINE RT_HOSTDEVICE unsigned int | optix::getByIndex (const uint1 &v, unsigned int i) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::setByIndex (uint1 &v, int i, unsigned int x) |
OPTIXU_INLINE RT_HOSTDEVICE uint2 | optix::min (const uint2 &a, const uint2 &b) |
OPTIXU_INLINE RT_HOSTDEVICE uint2 | optix::max (const uint2 &a, const uint2 &b) |
OPTIXU_INLINE RT_HOSTDEVICE unsigned int | optix::getByIndex (const uint2 &v, unsigned int i) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::setByIndex (uint2 &v, int i, unsigned int x) |
OPTIXU_INLINE RT_HOSTDEVICE uint3 | optix::min (const uint3 &a, const uint3 &b) |
OPTIXU_INLINE RT_HOSTDEVICE uint3 | optix::max (const uint3 &a, const uint3 &b) |
OPTIXU_INLINE RT_HOSTDEVICE unsigned int | optix::getByIndex (const uint3 &v, unsigned int i) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::setByIndex (uint3 &v, int i, unsigned int x) |
OPTIXU_INLINE RT_HOSTDEVICE unsigned int | optix::getByIndex (const uint4 &v, unsigned int i) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::setByIndex (uint4 &v, int i, unsigned int x) |
OPTIXU_INLINE RT_HOSTDEVICE float | optix::smoothstep (const float edge0, const float edge1, const float x) |
OPTIXU_INLINE RT_HOSTDEVICE float3 | optix::temperature (const float t) |
OPTIXU_INLINE RT_HOSTDEVICE bool | optix::intersect_triangle_branchless (const Ray &ray, const float3 &p0, const float3 &p1, const float3 &p2, float3 &n, float &t, float &beta, float &gamma) |
OPTIXU_INLINE RT_HOSTDEVICE bool | optix::intersect_triangle_earlyexit (const Ray &ray, const float3 &p0, const float3 &p1, const float3 &p2, float3 &n, float &t, float &beta, float &gamma) |
OPTIXU_INLINE RT_HOSTDEVICE bool | optix::intersect_triangle (const Ray &ray, const float3 &p0, const float3 &p1, const float3 &p2, float3 &n, float &t, float &beta, float &gamma) |
OPTIXU_INLINE RT_HOSTDEVICE bool | optix::refract (float3 &r, const float3 &i, const float3 &n, const float ior) |
OPTIXU_INLINE RT_HOSTDEVICE float | optix::fresnel_schlick (const float cos_theta, const float exponent=5.0f, const float minimum=0.0f, const float maximum=1.0f) |
OPTIXU_INLINE RT_HOSTDEVICE float3 | optix::fresnel_schlick (const float cos_theta, const float exponent, const float3 &minimum, const float3 &maximum) |
OPTIXU_INLINE RT_HOSTDEVICE float | optix::luminance (const float3 &rgb) |
OPTIXU_INLINE RT_HOSTDEVICE float | optix::luminanceCIE (const float3 &rgb) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::cosine_sample_hemisphere (const float u1, const float u2, float3 &p) |
OPTIXU_INLINE RT_HOSTDEVICE float2 | optix::square_to_disk (const float2 &sample) |
OPTIXU_INLINE RT_HOSTDEVICE float3 | optix::cart_to_pol (const float3 &v) |
OPTIXU_INLINE RT_HOSTDEVICE float2 | optix::make_float2 (const float s) |
OPTIXU_INLINE RT_HOSTDEVICE float2 | optix::make_float2 (const int2 &a) |
OPTIXU_INLINE RT_HOSTDEVICE float2 | optix::make_float2 (const uint2 &a) |
OPTIXU_INLINE RT_HOSTDEVICE float2 | optix::fminf (const float2 &a, const float2 &b) |
OPTIXU_INLINE RT_HOSTDEVICE float | optix::fminf (const float2 &a) |
OPTIXU_INLINE RT_HOSTDEVICE float2 | optix::fmaxf (const float2 &a, const float2 &b) |
OPTIXU_INLINE RT_HOSTDEVICE float | optix::fmaxf (const float2 &a) |
OPTIXU_INLINE RT_HOSTDEVICE float2 | optix::operator+ (const float2 &a, const float2 &b) |
OPTIXU_INLINE RT_HOSTDEVICE float2 | optix::operator+ (const float2 &a, const float b) |
OPTIXU_INLINE RT_HOSTDEVICE float2 | optix::operator+ (const float a, const float2 &b) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::operator+= (float2 &a, const float2 &b) |
OPTIXU_INLINE RT_HOSTDEVICE float2 | optix::operator- (const float2 &a, const float2 &b) |
OPTIXU_INLINE RT_HOSTDEVICE float2 | optix::operator- (const float2 &a, const float b) |
OPTIXU_INLINE RT_HOSTDEVICE float2 | optix::operator- (const float a, const float2 &b) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::operator-= (float2 &a, const float2 &b) |
OPTIXU_INLINE RT_HOSTDEVICE float2 | optix::operator* (const float2 &a, const float2 &b) |
OPTIXU_INLINE RT_HOSTDEVICE float2 | optix::operator* (const float2 &a, const float s) |
OPTIXU_INLINE RT_HOSTDEVICE float2 | optix::operator* (const float s, const float2 &a) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::operator*= (float2 &a, const float2 &s) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::operator*= (float2 &a, const float s) |
OPTIXU_INLINE RT_HOSTDEVICE float2 | optix::operator/ (const float2 &a, const float2 &b) |
OPTIXU_INLINE RT_HOSTDEVICE float2 | optix::operator/ (const float2 &a, const float s) |
OPTIXU_INLINE RT_HOSTDEVICE float2 | optix::operator/ (const float s, const float2 &a) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::operator/= (float2 &a, const float s) |
OPTIXU_INLINE RT_HOSTDEVICE float2 | optix::clamp (const float2 &v, const float a, const float b) |
OPTIXU_INLINE RT_HOSTDEVICE float2 | optix::clamp (const float2 &v, const float2 &a, const float2 &b) |
OPTIXU_INLINE RT_HOSTDEVICE float3 | optix::make_float3 (const float s) |
OPTIXU_INLINE RT_HOSTDEVICE float3 | optix::make_float3 (const float2 &a) |
OPTIXU_INLINE RT_HOSTDEVICE float3 | optix::make_float3 (const int3 &a) |
OPTIXU_INLINE RT_HOSTDEVICE float3 | optix::make_float3 (const uint3 &a) |
OPTIXU_INLINE RT_HOSTDEVICE float3 | optix::fminf (const float3 &a, const float3 &b) |
OPTIXU_INLINE RT_HOSTDEVICE float | optix::fminf (const float3 &a) |
OPTIXU_INLINE RT_HOSTDEVICE float3 | optix::fmaxf (const float3 &a, const float3 &b) |
OPTIXU_INLINE RT_HOSTDEVICE float | optix::fmaxf (const float3 &a) |
OPTIXU_INLINE RT_HOSTDEVICE float3 | optix::operator+ (const float3 &a, const float3 &b) |
OPTIXU_INLINE RT_HOSTDEVICE float3 | optix::operator+ (const float3 &a, const float b) |
OPTIXU_INLINE RT_HOSTDEVICE float3 | optix::operator+ (const float a, const float3 &b) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::operator+= (float3 &a, const float3 &b) |
OPTIXU_INLINE RT_HOSTDEVICE float3 | optix::operator- (const float3 &a, const float3 &b) |
OPTIXU_INLINE RT_HOSTDEVICE float3 | optix::operator- (const float3 &a, const float b) |
OPTIXU_INLINE RT_HOSTDEVICE float3 | optix::operator- (const float a, const float3 &b) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::operator-= (float3 &a, const float3 &b) |
OPTIXU_INLINE RT_HOSTDEVICE float3 | optix::operator* (const float3 &a, const float3 &b) |
OPTIXU_INLINE RT_HOSTDEVICE float3 | optix::operator* (const float3 &a, const float s) |
OPTIXU_INLINE RT_HOSTDEVICE float3 | optix::operator* (const float s, const float3 &a) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::operator*= (float3 &a, const float3 &s) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::operator*= (float3 &a, const float s) |
OPTIXU_INLINE RT_HOSTDEVICE float3 | optix::operator/ (const float3 &a, const float3 &b) |
OPTIXU_INLINE RT_HOSTDEVICE float3 | optix::operator/ (const float3 &a, const float s) |
OPTIXU_INLINE RT_HOSTDEVICE float3 | optix::operator/ (const float s, const float3 &a) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::operator/= (float3 &a, const float s) |
OPTIXU_INLINE RT_HOSTDEVICE float3 | optix::clamp (const float3 &v, const float a, const float b) |
OPTIXU_INLINE RT_HOSTDEVICE float3 | optix::clamp (const float3 &v, const float3 &a, const float3 &b) |
OPTIXU_INLINE RT_HOSTDEVICE float4 | optix::make_float4 (const float s) |
OPTIXU_INLINE RT_HOSTDEVICE float4 | optix::make_float4 (const float3 &a) |
OPTIXU_INLINE RT_HOSTDEVICE float4 | optix::make_float4 (const int4 &a) |
OPTIXU_INLINE RT_HOSTDEVICE float4 | optix::make_float4 (const uint4 &a) |
OPTIXU_INLINE RT_HOSTDEVICE float4 | optix::fminf (const float4 &a, const float4 &b) |
OPTIXU_INLINE RT_HOSTDEVICE float | optix::fminf (const float4 &a) |
OPTIXU_INLINE RT_HOSTDEVICE float4 | optix::fmaxf (const float4 &a, const float4 &b) |
OPTIXU_INLINE RT_HOSTDEVICE float | optix::fmaxf (const float4 &a) |
OPTIXU_INLINE RT_HOSTDEVICE float4 | optix::operator+ (const float4 &a, const float4 &b) |
OPTIXU_INLINE RT_HOSTDEVICE float4 | optix::operator+ (const float4 &a, const float b) |
OPTIXU_INLINE RT_HOSTDEVICE float4 | optix::operator+ (const float a, const float4 &b) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::operator+= (float4 &a, const float4 &b) |
OPTIXU_INLINE RT_HOSTDEVICE float4 | optix::operator- (const float4 &a, const float4 &b) |
OPTIXU_INLINE RT_HOSTDEVICE float4 | optix::operator- (const float4 &a, const float b) |
OPTIXU_INLINE RT_HOSTDEVICE float4 | optix::operator- (const float a, const float4 &b) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::operator-= (float4 &a, const float4 &b) |
OPTIXU_INLINE RT_HOSTDEVICE float4 | optix::operator* (const float4 &a, const float4 &s) |
OPTIXU_INLINE RT_HOSTDEVICE float4 | optix::operator* (const float4 &a, const float s) |
OPTIXU_INLINE RT_HOSTDEVICE float4 | optix::operator* (const float s, const float4 &a) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::operator*= (float4 &a, const float4 &s) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::operator*= (float4 &a, const float s) |
OPTIXU_INLINE RT_HOSTDEVICE float4 | optix::operator/ (const float4 &a, const float4 &b) |
OPTIXU_INLINE RT_HOSTDEVICE float4 | optix::operator/ (const float4 &a, const float s) |
OPTIXU_INLINE RT_HOSTDEVICE float4 | optix::operator/ (const float s, const float4 &a) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::operator/= (float4 &a, const float s) |
OPTIXU_INLINE RT_HOSTDEVICE float4 | optix::clamp (const float4 &v, const float a, const float b) |
OPTIXU_INLINE RT_HOSTDEVICE float4 | optix::clamp (const float4 &v, const float4 &a, const float4 &b) |
OPTIXU_INLINE RT_HOSTDEVICE int2 | optix::make_int2 (const int s) |
OPTIXU_INLINE RT_HOSTDEVICE int2 | optix::make_int2 (const float2 &a) |
OPTIXU_INLINE RT_HOSTDEVICE int2 | optix::operator+ (const int2 &a, const int2 &b) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::operator+= (int2 &a, const int2 &b) |
OPTIXU_INLINE RT_HOSTDEVICE int2 | optix::operator- (const int2 &a, const int2 &b) |
OPTIXU_INLINE RT_HOSTDEVICE int2 | optix::operator- (const int2 &a, const int b) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::operator-= (int2 &a, const int2 &b) |
OPTIXU_INLINE RT_HOSTDEVICE int2 | optix::operator* (const int2 &a, const int2 &b) |
OPTIXU_INLINE RT_HOSTDEVICE int2 | optix::operator* (const int2 &a, const int s) |
OPTIXU_INLINE RT_HOSTDEVICE int2 | optix::operator* (const int s, const int2 &a) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::operator*= (int2 &a, const int s) |
OPTIXU_INLINE RT_HOSTDEVICE int2 | optix::clamp (const int2 &v, const int a, const int b) |
OPTIXU_INLINE RT_HOSTDEVICE int2 | optix::clamp (const int2 &v, const int2 &a, const int2 &b) |
OPTIXU_INLINE RT_HOSTDEVICE bool | optix::operator== (const int2 &a, const int2 &b) |
OPTIXU_INLINE RT_HOSTDEVICE bool | optix::operator!= (const int2 &a, const int2 &b) |
OPTIXU_INLINE RT_HOSTDEVICE int3 | optix::make_int3 (const int s) |
OPTIXU_INLINE RT_HOSTDEVICE int3 | optix::make_int3 (const float3 &a) |
OPTIXU_INLINE RT_HOSTDEVICE int3 | optix::operator+ (const int3 &a, const int3 &b) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::operator+= (int3 &a, const int3 &b) |
OPTIXU_INLINE RT_HOSTDEVICE int3 | optix::operator- (const int3 &a, const int3 &b) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::operator-= (int3 &a, const int3 &b) |
OPTIXU_INLINE RT_HOSTDEVICE int3 | optix::operator* (const int3 &a, const int3 &b) |
OPTIXU_INLINE RT_HOSTDEVICE int3 | optix::operator* (const int3 &a, const int s) |
OPTIXU_INLINE RT_HOSTDEVICE int3 | optix::operator* (const int s, const int3 &a) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::operator*= (int3 &a, const int s) |
OPTIXU_INLINE RT_HOSTDEVICE int3 | optix::operator/ (const int3 &a, const int3 &b) |
OPTIXU_INLINE RT_HOSTDEVICE int3 | optix::operator/ (const int3 &a, const int s) |
OPTIXU_INLINE RT_HOSTDEVICE int3 | optix::operator/ (const int s, const int3 &a) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::operator/= (int3 &a, const int s) |
OPTIXU_INLINE RT_HOSTDEVICE int3 | optix::clamp (const int3 &v, const int a, const int b) |
OPTIXU_INLINE RT_HOSTDEVICE int3 | optix::clamp (const int3 &v, const int3 &a, const int3 &b) |
OPTIXU_INLINE RT_HOSTDEVICE bool | optix::operator== (const int3 &a, const int3 &b) |
OPTIXU_INLINE RT_HOSTDEVICE bool | optix::operator!= (const int3 &a, const int3 &b) |
OPTIXU_INLINE RT_HOSTDEVICE int4 | optix::make_int4 (const int s) |
OPTIXU_INLINE RT_HOSTDEVICE int4 | optix::make_int4 (const float4 &a) |
OPTIXU_INLINE RT_HOSTDEVICE int4 | optix::operator+ (const int4 &a, const int4 &b) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::operator+= (int4 &a, const int4 &b) |
OPTIXU_INLINE RT_HOSTDEVICE int4 | optix::operator- (const int4 &a, const int4 &b) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::operator-= (int4 &a, const int4 &b) |
OPTIXU_INLINE RT_HOSTDEVICE int4 | optix::operator* (const int4 &a, const int4 &b) |
OPTIXU_INLINE RT_HOSTDEVICE int4 | optix::operator* (const int4 &a, const int s) |
OPTIXU_INLINE RT_HOSTDEVICE int4 | optix::operator* (const int s, const int4 &a) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::operator*= (int4 &a, const int s) |
OPTIXU_INLINE RT_HOSTDEVICE int4 | optix::operator/ (const int4 &a, const int4 &b) |
OPTIXU_INLINE RT_HOSTDEVICE int4 | optix::operator/ (const int4 &a, const int s) |
OPTIXU_INLINE RT_HOSTDEVICE int4 | optix::operator/ (const int s, const int4 &a) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::operator/= (int4 &a, const int s) |
OPTIXU_INLINE RT_HOSTDEVICE int4 | optix::clamp (const int4 &v, const int a, const int b) |
OPTIXU_INLINE RT_HOSTDEVICE int4 | optix::clamp (const int4 &v, const int4 &a, const int4 &b) |
OPTIXU_INLINE RT_HOSTDEVICE bool | optix::operator== (const int4 &a, const int4 &b) |
OPTIXU_INLINE RT_HOSTDEVICE bool | optix::operator!= (const int4 &a, const int4 &b) |
OPTIXU_INLINE RT_HOSTDEVICE uint2 | optix::make_uint2 (const unsigned int s) |
OPTIXU_INLINE RT_HOSTDEVICE uint2 | optix::make_uint2 (const float2 &a) |
OPTIXU_INLINE RT_HOSTDEVICE uint2 | optix::operator+ (const uint2 &a, const uint2 &b) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::operator+= (uint2 &a, const uint2 &b) |
OPTIXU_INLINE RT_HOSTDEVICE uint2 | optix::operator- (const uint2 &a, const uint2 &b) |
OPTIXU_INLINE RT_HOSTDEVICE uint2 | optix::operator- (const uint2 &a, const unsigned int b) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::operator-= (uint2 &a, const uint2 &b) |
OPTIXU_INLINE RT_HOSTDEVICE uint2 | optix::operator* (const uint2 &a, const uint2 &b) |
OPTIXU_INLINE RT_HOSTDEVICE uint2 | optix::operator* (const uint2 &a, const unsigned int s) |
OPTIXU_INLINE RT_HOSTDEVICE uint2 | optix::operator* (const unsigned int s, const uint2 &a) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::operator*= (uint2 &a, const unsigned int s) |
OPTIXU_INLINE RT_HOSTDEVICE uint2 | optix::clamp (const uint2 &v, const unsigned int a, const unsigned int b) |
OPTIXU_INLINE RT_HOSTDEVICE uint2 | optix::clamp (const uint2 &v, const uint2 &a, const uint2 &b) |
OPTIXU_INLINE RT_HOSTDEVICE bool | optix::operator== (const uint2 &a, const uint2 &b) |
OPTIXU_INLINE RT_HOSTDEVICE bool | optix::operator!= (const uint2 &a, const uint2 &b) |
OPTIXU_INLINE RT_HOSTDEVICE uint3 | optix::make_uint3 (const unsigned int s) |
OPTIXU_INLINE RT_HOSTDEVICE uint3 | optix::make_uint3 (const float3 &a) |
OPTIXU_INLINE RT_HOSTDEVICE uint3 | optix::operator+ (const uint3 &a, const uint3 &b) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::operator+= (uint3 &a, const uint3 &b) |
OPTIXU_INLINE RT_HOSTDEVICE uint3 | optix::operator- (const uint3 &a, const uint3 &b) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::operator-= (uint3 &a, const uint3 &b) |
OPTIXU_INLINE RT_HOSTDEVICE uint3 | optix::operator* (const uint3 &a, const uint3 &b) |
OPTIXU_INLINE RT_HOSTDEVICE uint3 | optix::operator* (const uint3 &a, const unsigned int s) |
OPTIXU_INLINE RT_HOSTDEVICE uint3 | optix::operator* (const unsigned int s, const uint3 &a) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::operator*= (uint3 &a, const unsigned int s) |
OPTIXU_INLINE RT_HOSTDEVICE uint3 | optix::operator/ (const uint3 &a, const uint3 &b) |
OPTIXU_INLINE RT_HOSTDEVICE uint3 | optix::operator/ (const uint3 &a, const unsigned int s) |
OPTIXU_INLINE RT_HOSTDEVICE uint3 | optix::operator/ (const unsigned int s, const uint3 &a) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::operator/= (uint3 &a, const unsigned int s) |
OPTIXU_INLINE RT_HOSTDEVICE uint3 | optix::clamp (const uint3 &v, const unsigned int a, const unsigned int b) |
OPTIXU_INLINE RT_HOSTDEVICE uint3 | optix::clamp (const uint3 &v, const uint3 &a, const uint3 &b) |
OPTIXU_INLINE RT_HOSTDEVICE bool | optix::operator== (const uint3 &a, const uint3 &b) |
OPTIXU_INLINE RT_HOSTDEVICE bool | optix::operator!= (const uint3 &a, const uint3 &b) |
OPTIXU_INLINE RT_HOSTDEVICE uint4 | optix::make_uint4 (const unsigned int s) |
OPTIXU_INLINE RT_HOSTDEVICE uint4 | optix::make_uint4 (const float4 &a) |
OPTIXU_INLINE RT_HOSTDEVICE uint4 | optix::min (const uint4 &a, const uint4 &b) |
OPTIXU_INLINE RT_HOSTDEVICE uint4 | optix::max (const uint4 &a, const uint4 &b) |
OPTIXU_INLINE RT_HOSTDEVICE uint4 | optix::operator+ (const uint4 &a, const uint4 &b) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::operator+= (uint4 &a, const uint4 &b) |
OPTIXU_INLINE RT_HOSTDEVICE uint4 | optix::operator- (const uint4 &a, const uint4 &b) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::operator-= (uint4 &a, const uint4 &b) |
OPTIXU_INLINE RT_HOSTDEVICE uint4 | optix::operator* (const uint4 &a, const uint4 &b) |
OPTIXU_INLINE RT_HOSTDEVICE uint4 | optix::operator* (const uint4 &a, const unsigned int s) |
OPTIXU_INLINE RT_HOSTDEVICE uint4 | optix::operator* (const unsigned int s, const uint4 &a) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::operator*= (uint4 &a, const unsigned int s) |
OPTIXU_INLINE RT_HOSTDEVICE uint4 | optix::operator/ (const uint4 &a, const uint4 &b) |
OPTIXU_INLINE RT_HOSTDEVICE uint4 | optix::operator/ (const uint4 &a, const unsigned int s) |
OPTIXU_INLINE RT_HOSTDEVICE uint4 | optix::operator/ (const unsigned int s, const uint4 &a) |
OPTIXU_INLINE RT_HOSTDEVICE void | optix::operator/= (uint4 &a, const unsigned int s) |
OPTIXU_INLINE RT_HOSTDEVICE uint4 | optix::clamp (const uint4 &v, const unsigned int a, const unsigned int b) |
OPTIXU_INLINE RT_HOSTDEVICE uint4 | optix::clamp (const uint4 &v, const uint4 &a, const uint4 &b) |
OPTIXU_INLINE RT_HOSTDEVICE bool | optix::operator== (const uint4 &a, const uint4 &b) |
OPTIXU_INLINE RT_HOSTDEVICE bool | optix::operator!= (const uint4 &a, const uint4 &b) |
OPTIXU_INLINE RT_HOSTDEVICE int2 | optix::make_int2 (const int3 &v0) |
OPTIXU_INLINE RT_HOSTDEVICE int2 | optix::make_int2 (const int4 &v0) |
OPTIXU_INLINE RT_HOSTDEVICE int3 | optix::make_int3 (const int4 &v0) |
OPTIXU_INLINE RT_HOSTDEVICE uint2 | optix::make_uint2 (const uint3 &v0) |
OPTIXU_INLINE RT_HOSTDEVICE uint2 | optix::make_uint2 (const uint4 &v0) |
OPTIXU_INLINE RT_HOSTDEVICE uint3 | optix::make_uint3 (const uint4 &v0) |
OPTIXU_INLINE RT_HOSTDEVICE float2 | optix::make_float2 (const float3 &v0) |
OPTIXU_INLINE RT_HOSTDEVICE float2 | optix::make_float2 (const float4 &v0) |
OPTIXU_INLINE RT_HOSTDEVICE float3 | optix::make_float3 (const float4 &v0) |
OPTIXU_INLINE RT_HOSTDEVICE int3 | optix::make_int3 (const int v0, const int2 &v1) |
OPTIXU_INLINE RT_HOSTDEVICE int3 | optix::make_int3 (const int2 &v0, const int v1) |
OPTIXU_INLINE RT_HOSTDEVICE int4 | optix::make_int4 (const int v0, const int v1, const int2 &v2) |
OPTIXU_INLINE RT_HOSTDEVICE int4 | optix::make_int4 (const int v0, const int2 &v1, const int v2) |
OPTIXU_INLINE RT_HOSTDEVICE int4 | optix::make_int4 (const int2 &v0, const int v1, const int v2) |
OPTIXU_INLINE RT_HOSTDEVICE int4 | optix::make_int4 (const int v0, const int3 &v1) |
OPTIXU_INLINE RT_HOSTDEVICE int4 | optix::make_int4 (const int3 &v0, const int v1) |
OPTIXU_INLINE RT_HOSTDEVICE int4 | optix::make_int4 (const int2 &v0, const int2 &v1) |
OPTIXU_INLINE RT_HOSTDEVICE uint3 | optix::make_uint3 (const unsigned int v0, const uint2 &v1) |
OPTIXU_INLINE RT_HOSTDEVICE uint3 | optix::make_uint3 (const uint2 &v0, const unsigned int v1) |
OPTIXU_INLINE RT_HOSTDEVICE uint4 | optix::make_uint4 (const unsigned int v0, const unsigned int v1, const uint2 &v2) |
OPTIXU_INLINE RT_HOSTDEVICE uint4 | optix::make_uint4 (const unsigned int v0, const uint2 &v1, const unsigned int v2) |
OPTIXU_INLINE RT_HOSTDEVICE uint4 | optix::make_uint4 (const uint2 &v0, const unsigned int v1, const unsigned int v2) |
OPTIXU_INLINE RT_HOSTDEVICE uint4 | optix::make_uint4 (const unsigned int v0, const uint3 &v1) |
OPTIXU_INLINE RT_HOSTDEVICE uint4 | optix::make_uint4 (const uint3 &v0, const unsigned int v1) |
OPTIXU_INLINE RT_HOSTDEVICE uint4 | optix::make_uint4 (const uint2 &v0, const uint2 &v1) |
OPTIXU_INLINE RT_HOSTDEVICE float3 | optix::make_float3 (const float2 &v0, const float v1) |
OPTIXU_INLINE RT_HOSTDEVICE float3 | optix::make_float3 (const float v0, const float2 &v1) |
OPTIXU_INLINE RT_HOSTDEVICE float4 | optix::make_float4 (const float v0, const float v1, const float2 &v2) |
OPTIXU_INLINE RT_HOSTDEVICE float4 | optix::make_float4 (const float v0, const float2 &v1, const float v2) |
OPTIXU_INLINE RT_HOSTDEVICE float4 | optix::make_float4 (const float2 &v0, const float v1, const float v2) |
OPTIXU_INLINE RT_HOSTDEVICE float4 | optix::make_float4 (const float v0, const float3 &v1) |
OPTIXU_INLINE RT_HOSTDEVICE float4 | optix::make_float4 (const float3 &v0, const float v1) |
OPTIXU_INLINE RT_HOSTDEVICE float4 | optix::make_float4 (const float2 &v0, const float2 &v1) |