|
OWL
OptiX7 Wrapper Library
|
#include "owl/common/math/vec.h"#include "owl/common/math/box.h"#include <cuda.h>#include <optix.h>Go to the source code of this file.
Classes | |
| struct | owl::RayT< _rayType, _numRayTypes > |
Namespaces | |
| owl | |
Macros | |
| #define | OPTIX_RAYGEN_PROGRAM(programName) |
| #define | OPTIX_CLOSEST_HIT_PROGRAM(programName) |
| #define | OPTIX_ANY_HIT_PROGRAM(programName) |
| #define | OPTIX_INTERSECT_PROGRAM(programName) |
| #define | OPTIX_MISS_PROGRAM(programName) |
| #define | OPTIX_BOUNDS_PROGRAM(progName) |
Typedefs | |
| typedef RayT< 0, 1 > | owl::Ray |
Functions | |
| __device__ vec2i | owl::getLaunchIndex () |
| __device__ vec2i | owl::getLaunchDims () |
| __device__ const void * | owl::getProgramDataPointer () |
| template<typename T > | |
| __device__ const T & | owl::getProgramData () |
| __device__ float | owl::linear_to_srgb (float x) |
| __device__ uint32_t | owl::make_8bit (const float f) |
| __device__ uint32_t | owl::make_rgba (const vec3f color) |
| __device__ uint32_t | owl::make_rgba (const vec4f color) |
| static __forceinline__ __device__ void * | owl::unpackPointer (uint32_t i0, uint32_t i1) |
| static __forceinline__ __device__ void | owl::packPointer (void *ptr, uint32_t &i0, uint32_t &i1) |
| static __forceinline__ __device__ void * | owl::getPRDPointer () |
| template<typename T > | |
| static __forceinline__ __device__ T & | owl::getPRD () |
| template<typename RayType , typename PRD > | |
| __device__ void | owl::traceRay (OptixTraversableHandle traversable, const RayType &ray, PRD &prd, uint32_t rayFlags=0u) |
| template<typename PRD > | |
| __device__ void | owl::trace (OptixTraversableHandle traversable, const Ray &ray, int numRayTypes, PRD &prd, int sbtOffset=0) |
| #define OPTIX_ANY_HIT_PROGRAM | ( | programName | ) |
| #define OPTIX_BOUNDS_PROGRAM | ( | progName | ) |
| #define OPTIX_CLOSEST_HIT_PROGRAM | ( | programName | ) |
| #define OPTIX_INTERSECT_PROGRAM | ( | programName | ) |
| #define OPTIX_MISS_PROGRAM | ( | programName | ) |
| #define OPTIX_RAYGEN_PROGRAM | ( | programName | ) |