OWL
OptiX7 Wrapper Library
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
owl::RayT< _rayType, _numRayTypes > Struct Template Reference

#include <owl_device.h>

Public Types

enum  { rayType = _rayType }
 
enum  { numRayTypes = _numRayTypes }
 

Public Member Functions

__device__ RayT ()
 
__device__ RayT (const vec3f &origin, const vec3f &direction, float tmin, float tmax)
 

Public Attributes

vec3f origin
 
vec3f direction
 
float tmin =0.f
 
float tmax =1e30f
 
float time =0.f
 

Member Enumeration Documentation

◆ anonymous enum

template<int _rayType = 0, int _numRayTypes = 1>
anonymous enum
Enumerator
rayType 

◆ anonymous enum

template<int _rayType = 0, int _numRayTypes = 1>
anonymous enum
Enumerator
numRayTypes 

Constructor & Destructor Documentation

◆ RayT() [1/2]

template<int _rayType = 0, int _numRayTypes = 1>
__device__ owl::RayT< _rayType, _numRayTypes >::RayT ( )
inline

◆ RayT() [2/2]

template<int _rayType = 0, int _numRayTypes = 1>
__device__ owl::RayT< _rayType, _numRayTypes >::RayT ( const vec3f &  origin,
const vec3f &  direction,
float  tmin,
float  tmax 
)
inline

Member Data Documentation

◆ direction

template<int _rayType = 0, int _numRayTypes = 1>
vec3f owl::RayT< _rayType, _numRayTypes >::direction

◆ origin

template<int _rayType = 0, int _numRayTypes = 1>
vec3f owl::RayT< _rayType, _numRayTypes >::origin

◆ time

template<int _rayType = 0, int _numRayTypes = 1>
float owl::RayT< _rayType, _numRayTypes >::time =0.f

◆ tmax

template<int _rayType = 0, int _numRayTypes = 1>
float owl::RayT< _rayType, _numRayTypes >::tmax =1e30f

◆ tmin

template<int _rayType = 0, int _numRayTypes = 1>
float owl::RayT< _rayType, _numRayTypes >::tmin =0.f

The documentation for this struct was generated from the following file: