|
Blender V5.3
|
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) |
| #define OPTIX_DEFINE_ABI_VERSION_ONLY |
Definition at line 20 of file kernel/device/optix/bvh.h.
| Enumerator | |
|---|---|
| CUSTOM_PRIMITIVE_HIT_KIND_CURVE | |
| CUSTOM_PRIMITIVE_HIT_KIND_POINT | |
Definition at line 27 of file kernel/device/optix/bvh.h.
| __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().
| __global__ void __anyhit__kernel_optix_local_hit | ( | ) |
Definition at line 110 of file kernel/device/optix/bvh.h.
References __anyhit__kernel_optix_local_hit(), ccl_private, cross, get_object_id(), get_payload_ptr_0(), get_payload_ptr_2(), get_payload_ptr_6(), LocalIntersection::hits, intersection_skip_self_local(), kernel_data_fetch, LocalIntersection::Ng, normalize, Intersection::object, Intersection::prim, Intersection::t, Intersection::type, Intersection::u, Intersection::v, float2::x, packed_uint3::x, float2::y, packed_uint3::y, and packed_uint3::z.
Referenced by __anyhit__kernel_optix_local_hit().
| __global__ void __anyhit__kernel_optix_shadow_all_hit | ( | ) |
Definition at line 173 of file kernel/device/optix/bvh.h.
References __anyhit__kernel_optix_shadow_all_hit(), bvh_shadow_all_anyhit_filter(), ccl_private, get_intersection(), get_payload_ptr_0(), get_payload_ptr_6(), and Intersection::t.
Referenced by __anyhit__kernel_optix_shadow_all_hit().
| __global__ void __anyhit__kernel_optix_visibility_test | ( | ) |
Definition at line 233 of file kernel/device/optix/bvh.h.
References __anyhit__kernel_optix_visibility_test(), ccl_private, CUSTOM_PRIMITIVE_HIT_KIND_POINT, get_object_id(), get_payload_ptr_6(), intersection_skip_self(), intersection_skip_self_shadow(), intersection_skip_shadow_link(), kernel_data_fetch, and PATH_RAY_VISIBILITY_SHADOW_OPAQUE.
Referenced by __anyhit__kernel_optix_visibility_test().
| __global__ void __anyhit__kernel_optix_volume_test | ( | ) |
Definition at line 212 of file kernel/device/optix/bvh.h.
References __anyhit__kernel_optix_volume_test(), bvh_volume_anyhit_triangle_filter(), ccl_private, get_object_id(), and get_payload_ptr_6().
Referenced by __anyhit__kernel_optix_volume_test().
| __global__ void __closesthit__kernel_optix_hit | ( | ) |
Definition at line 278 of file kernel/device/optix/bvh.h.
References __closesthit__kernel_optix_hit(), __float_as_uint, CUSTOM_PRIMITIVE_HIT_KIND_POINT, get_object_id(), kernel_assert, kernel_data_fetch, float2::x, and float2::y.
Referenced by __closesthit__kernel_optix_hit().
| __global__ void __closesthit__kernel_optix_ignore | ( | ) |
Definition at line 108 of file kernel/device/optix/bvh.h.
References __closesthit__kernel_optix_ignore().
Referenced by __closesthit__kernel_optix_ignore().
| __global__ void __miss__kernel_optix_miss | ( | ) |
Definition at line 96 of file kernel/device/optix/bvh.h.
References __float_as_uint, __miss__kernel_optix_miss(), and PRIMITIVE_NONE.
Referenced by __miss__kernel_optix_miss().
| ccl_device_forceinline Intersection get_intersection | ( | ) |
Definition at line 57 of file kernel/device/optix/bvh.h.
References __uint_as_float, ccl_device_forceinline, CUSTOM_PRIMITIVE_HIT_KIND_POINT, get_intersection(), get_object_id(), kernel_assert, kernel_data_fetch, Intersection::object, Intersection::prim, Intersection::t, Intersection::type, Intersection::u, Intersection::v, float2::x, and float2::y.
Referenced by __anyhit__kernel_optix_shadow_all_hit(), and get_intersection().
| ccl_device_forceinline int get_object_id | ( | ) |
Definition at line 46 of file kernel/device/optix/bvh.h.
References ccl_device_forceinline, and get_object_id().
Referenced by __anyhit__kernel_optix_local_hit(), __anyhit__kernel_optix_visibility_test(), __anyhit__kernel_optix_volume_test(), __closesthit__kernel_optix_hit(), get_intersection(), and get_object_id().
| ccl_device_forceinline T * get_payload_ptr_0 | ( | ) |
Definition at line 32 of file kernel/device/optix/bvh.h.
References ccl_device_forceinline, get_payload_ptr_0(), pointer_unpack_from_uint(), and T.
Referenced by __anyhit__kernel_optix_local_hit(), __anyhit__kernel_optix_shadow_all_hit(), and get_payload_ptr_0().
| ccl_device_forceinline T * get_payload_ptr_2 | ( | ) |
Definition at line 36 of file kernel/device/optix/bvh.h.
References ccl_device_forceinline, get_payload_ptr_2(), pointer_unpack_from_uint(), and T.
Referenced by __anyhit__kernel_optix_local_hit(), and get_payload_ptr_2().
| ccl_device_forceinline T * get_payload_ptr_6 | ( | ) |
Definition at line 41 of file kernel/device/optix/bvh.h.
References ccl_device_forceinline, get_payload_ptr_6(), and T.
Referenced by __anyhit__kernel_optix_local_hit(), __anyhit__kernel_optix_shadow_all_hit(), __anyhit__kernel_optix_visibility_test(), __anyhit__kernel_optix_volume_test(), and get_payload_ptr_6().
| ccl_device_intersect bool scene_intersect | ( | KernelGlobals | kg, |
| const ccl_private Ray * | ray, | ||
| const uint | visibility, | ||
| ccl_private Intersection * | isect ) |
Definition at line 393 of file kernel/device/optix/bvh.h.
References __uint_as_float, ccl_device_intersect, ccl_private, intersection_ray_valid(), kernel_data, PATH_RAY_VISIBILITY_SHADOW_OPAQUE, pointer_pack_to_uint_0(), pointer_pack_to_uint_1(), PRIMITIVE_NONE, and scene_intersect().
| ccl_device_intersect bool scene_intersect_shadow | ( | KernelGlobals | kg, |
| const ccl_private Ray * | ray, | ||
| const uint | visibility ) |
Definition at line 449 of file kernel/device/optix/bvh.h.
References ccl_device_intersect, ccl_private, intersection_ray_valid(), kernel_data, PATH_RAY_VISIBILITY_SHADOW_OPAQUE, pointer_pack_to_uint_0(), pointer_pack_to_uint_1(), PRIMITIVE_NONE, and scene_intersect_shadow().