Blender V5.0
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_ignore ()
__global__ void __closesthit__kernel_optix_ignore ()
__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, const ccl_private Ray *ray, const uint visibility, ccl_private Intersection *isect)
ccl_device_intersect bool scene_intersect_shadow (KernelGlobals kg, const ccl_private 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_ignore()

__global__ void __anyhit__kernel_optix_ignore ( )

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

◆ __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 ( )

◆ __closesthit__kernel_optix_ignore()

__global__ void __closesthit__kernel_optix_ignore ( )

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

◆ __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 ( )

◆ get_payload_ptr_2()

template<typename T>
ccl_device_forceinline T * get_payload_ptr_2 ( )

◆ get_payload_ptr_6()

◆ scene_intersect()

◆ scene_intersect_shadow()