Blender V4.3
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)
 
ccl_device_intersect bool scene_intersect_shadow (KernelGlobals kg, ccl_private const Ray *ray, const uint visibility)
 

Macro Definition Documentation

◆ OPTIX_DEFINE_ABI_VERSION_ONLY

#define OPTIX_DEFINE_ABI_VERSION_ONLY

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

Function Documentation

◆ __anyhit__kernel_optix_local_hit()

◆ __anyhit__kernel_optix_shadow_all_hit()

◆ __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 46 of file kernel/device/optix/bvh.h.

References __float_as_uint, and PRIMITIVE_NONE.

◆ get_object_id()

◆ get_payload_ptr_0()

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

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

References pointer_unpack_from_uint().

Referenced by __anyhit__kernel_optix_local_hit().

◆ get_payload_ptr_2()

template<typename T >
ccl_device_forceinline T * get_payload_ptr_2 ( )

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

References pointer_unpack_from_uint().

Referenced by __anyhit__kernel_optix_local_hit().

◆ get_payload_ptr_6()

◆ scene_intersect()

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

◆ scene_intersect_shadow()

ccl_device_intersect bool scene_intersect_shadow ( KernelGlobals kg,
ccl_private const Ray * ray,
const uint visibility )

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

References scene_intersect().