|
Blender V4.3
|
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 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 () |
| __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) |
| #define OPTIX_DEFINE_ABI_VERSION_ONLY |
Definition at line 12 of file kernel/device/optix/bvh.h.
| __global__ void __anyhit__kernel_optix_local_hit | ( | ) |
Definition at line 53 of file kernel/device/optix/bvh.h.
References 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, lcg_step_uint(), min, LocalIntersection::Ng, normalize(), LocalIntersection::num_hits, 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.
| __global__ void __anyhit__kernel_optix_shadow_all_hit | ( | ) |
Definition at line 136 of file kernel/device/optix/bvh.h.
References __float_as_uint, __uint_as_float, ccl_private, CURVE_SHADOW_TRANSPARENCY_CUTOFF, get_object_id(), get_payload_ptr_6(), INTEGRATOR_SHADOW_ISECT_SIZE, INTEGRATOR_STATE_ARRAY, INTEGRATOR_STATE_ARRAY_WRITE, intersection_curve_shadow_transparency(), intersection_get_shader_flags(), intersection_skip_self_shadow(), intersection_skip_shadow_link(), kernel_data_fetch, min, NULL, PRIMITIVE_CURVE, PRIMITIVE_MOTION, PRIMITIVE_POINT, SD_HAS_TRANSPARENT_SHADOW, state, uint16_pack_to_uint(), uint16_unpack_from_uint_0(), uint16_unpack_from_uint_1(), v, float2::x, and float2::y.
| __global__ void __anyhit__kernel_optix_visibility_test | ( | ) |
Definition at line 300 of file kernel/device/optix/bvh.h.
References __uint_as_float, ccl_private, get_object_id(), get_payload_ptr_6(), intersection_skip_self(), intersection_skip_self_shadow(), intersection_skip_shadow_link(), kernel_data_fetch, PATH_RAY_SHADOW_OPAQUE, PRIMITIVE_MOTION, and PRIMITIVE_POINT.
| __global__ void __anyhit__kernel_optix_volume_test | ( | ) |
Definition at line 272 of file kernel/device/optix/bvh.h.
References ccl_private, get_object_id(), get_payload_ptr_6(), intersection_skip_self(), kernel_data_fetch, and SD_OBJECT_HAS_VOLUME.
| __global__ void __closesthit__kernel_optix_hit | ( | ) |
Definition at line 357 of file kernel/device/optix/bvh.h.
References __float_as_uint, get_object_id(), kernel_data_fetch, PRIMITIVE_MOTION, PRIMITIVE_POINT, float2::x, and float2::y.
| __global__ void __miss__kernel_optix_miss | ( | ) |
Definition at line 46 of file kernel/device/optix/bvh.h.
References __float_as_uint, and PRIMITIVE_NONE.
| ccl_device_forceinline int get_object_id | ( | ) |
Definition at line 33 of file kernel/device/optix/bvh.h.
Referenced by __anyhit__kernel_optix_local_hit(), __anyhit__kernel_optix_shadow_all_hit(), __anyhit__kernel_optix_visibility_test(), __anyhit__kernel_optix_volume_test(), and __closesthit__kernel_optix_hit().
| 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().
| 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().
| ccl_device_forceinline T * get_payload_ptr_6 | ( | ) |
Definition at line 28 of file kernel/device/optix/bvh.h.
Referenced by __anyhit__kernel_optix_local_hit(), __anyhit__kernel_optix_shadow_all_hit(), __anyhit__kernel_optix_visibility_test(), and __anyhit__kernel_optix_volume_test().
| ccl_device_intersect bool scene_intersect | ( | KernelGlobals | kg, |
| ccl_private const Ray * | ray, | ||
| const uint | visibility, | ||
| ccl_private Intersection * | isect ) |
Definition at line 471 of file kernel/device/optix/bvh.h.
References __uint_as_float, intersection_ray_valid(), kernel_data, PATH_RAY_SHADOW_OPAQUE, and PRIMITIVE_NONE.
Referenced by 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().