Blender V5.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

Enumerations

enum  CustomPrimitiveHitKind { CUSTOM_PRIMITIVE_HIT_KIND_CURVE , CUSTOM_PRIMITIVE_HIT_KIND_POINT }

Functions

template<typename T>
ccl_device_forceinline T * get_payload_ptr_0 ()
template<typename T>
ccl_device_forceinline T * get_payload_ptr_2 ()
template<typename T>
ccl_device_forceinline T * get_payload_ptr_6 ()
ccl_device_forceinline int get_object_id ()
ccl_device_forceinline Intersection get_intersection ()
__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 20 of file kernel/device/optix/bvh.h.

Enumeration Type Documentation

◆ CustomPrimitiveHitKind

Enumerator
CUSTOM_PRIMITIVE_HIT_KIND_CURVE 
CUSTOM_PRIMITIVE_HIT_KIND_POINT 

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

Function Documentation

◆ __anyhit__kernel_optix_ignore()

__global__ void __anyhit__kernel_optix_ignore ( )

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

References __anyhit__kernel_optix_ignore().

Referenced by __anyhit__kernel_optix_ignore().

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

◆ __closesthit__kernel_optix_ignore()

__global__ void __closesthit__kernel_optix_ignore ( )

◆ __miss__kernel_optix_miss()

__global__ void __miss__kernel_optix_miss ( )

◆ get_intersection()

◆ get_object_id()

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