1.3.64
 
Loading...
Searching...
No Matches
OptiX6Backend.h File Reference
#include "RayTracingBackend.h"
#include <optix.h>
#include <optixu/optixpp_namespace.h>
#include <optixu/optixu_vector_functions.h>
#include <optixu/optixu_vector_types.h>

Go to the source code of this file.

Data Structures

class  helios::OptiX6Backend
 OptiX 6.5 implementation of the ray tracing backend. More...
 

Macros

#define RT_CHECK_ERROR(func)
 
#define RT_CHECK_ERROR_NOEXIT(func)
 

Enumerations

enum  RayType { RAYTYPE_DIRECT = 0 , RAYTYPE_DIFFUSE = 1 , RAYTYPE_CAMERA = 2 , RAYTYPE_PIXEL_LABEL = 3 }
 

Detailed Description

OptiX 6.5 ray tracing backend implementation.

Copyright (C) 2016-2026 Brian Bailey

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Definition in file OptiX6Backend.h.

Macro Definition Documentation

◆ RT_CHECK_ERROR

#define RT_CHECK_ERROR (   func)
Value:
do { \
RTresult code = func; \
if (code != RT_SUCCESS) \
sutilHandleError(OptiX_Context, code, __FILE__, __LINE__); \
} while (0)

Definition at line 33 of file OptiX6Backend.h.

◆ RT_CHECK_ERROR_NOEXIT

#define RT_CHECK_ERROR_NOEXIT (   func)
Value:
do { \
RTresult code = func; \
if (code != RT_SUCCESS) { \
const char *message; \
rtContextGetErrorString(OptiX_Context, code, &message); \
std::cerr << "WARNING (OptiX cleanup): " << message << " (" << __FILE__ << ":" << __LINE__ << ")" << std::endl; \
} \
} while (0)

Definition at line 40 of file OptiX6Backend.h.

Enumeration Type Documentation

◆ RayType

enum helios::RayType

Definition at line 30 of file OptiX6Backend.h.