Blender  V3.3
Macros | Functions
kernel/device/optix/bvh.h File Reference
#include "kernel/bvh/types.h"
#include "kernel/bvh/util.h"
#include <optix_function_table.h>

Go to the source code of this file.

Macros

#define OPTIX_DEFINE_ABI_VERSION_ONLY
 

Functions

template<typename T >
CCL_NAMESPACE_BEGIN ccl_device_forceinline Tget_payload_ptr_0 ()
 
template<typename T >
ccl_device_forceinline Tget_payload_ptr_2 ()
 
template<typename T >
ccl_device_forceinline Tget_payload_ptr_6 ()
 
ccl_device_forceinline int get_object_id ()
 
__global__ void __miss__kernel_optix_miss ()
 
__global__ void __anyhit__kernel_optix_local_hit ()
 
__global__ void __anyhit__kernel_optix_shadow_all_hit ()
 
__global__ void __anyhit__kernel_optix_volume_test ()
 
__global__ void __anyhit__kernel_optix_visibility_test ()
 
__global__ void __closesthit__kernel_optix_hit ()
 
ccl_device_intersect bool scene_intersect (KernelGlobals kg, ccl_private const Ray *ray, const uint visibility, ccl_private Intersection *isect)
 

Macro Definition Documentation

◆ OPTIX_DEFINE_ABI_VERSION_ONLY

#define OPTIX_DEFINE_ABI_VERSION_ONLY

Definition at line 11 of file kernel/device/optix/bvh.h.

Function Documentation

◆ __anyhit__kernel_optix_local_hit()

__global__ void __anyhit__kernel_optix_local_hit ( )

◆ __anyhit__kernel_optix_shadow_all_hit()

__global__ void __anyhit__kernel_optix_shadow_all_hit ( )

◆ __anyhit__kernel_optix_visibility_test()

__global__ void __anyhit__kernel_optix_visibility_test ( )

◆ __anyhit__kernel_optix_volume_test()

__global__ void __anyhit__kernel_optix_volume_test ( )

◆ __closesthit__kernel_optix_hit()

__global__ void __closesthit__kernel_optix_hit ( )

◆ __miss__kernel_optix_miss()

__global__ void __miss__kernel_optix_miss ( )

Definition at line 45 of file kernel/device/optix/bvh.h.

References __float_as_uint(), and PRIMITIVE_NONE.

◆ get_object_id()

ccl_device_forceinline int get_object_id ( )

◆ get_payload_ptr_0()

template<typename T >
CCL_NAMESPACE_BEGIN ccl_device_forceinline T* get_payload_ptr_0 ( )

Definition at line 18 of file kernel/device/optix/bvh.h.

◆ get_payload_ptr_2()

template<typename T >
ccl_device_forceinline T* get_payload_ptr_2 ( )

Definition at line 22 of file kernel/device/optix/bvh.h.

◆ get_payload_ptr_6()

template<typename T >
ccl_device_forceinline T* get_payload_ptr_6 ( )

Definition at line 27 of file kernel/device/optix/bvh.h.

References T.

◆ scene_intersect()

ccl_device_intersect bool scene_intersect ( KernelGlobals  kg,
ccl_private const Ray ray,
const uint  visibility,
ccl_private Intersection isect 
)

Definition at line 456 of file kernel/device/optix/bvh.h.