|
Blender V4.3
|
Go to the source code of this file.
Classes | |
| struct | RayPortalClosure |
Typedefs | |
| typedef CCL_NAMESPACE_BEGIN struct RayPortalClosure | RayPortalClosure |
Functions | |
| ccl_device void | bsdf_ray_portal_setup (ccl_private ShaderData *sd, const Spectrum weight, uint32_t path_flag, float3 position, float3 direction) |
| ccl_device Spectrum | bsdf_ray_portal_eval (ccl_private const ShaderClosure *sc, const float3 wi, const float3 wo, ccl_private float *pdf) |
| typedef CCL_NAMESPACE_BEGIN struct RayPortalClosure RayPortalClosure |
| ccl_device Spectrum bsdf_ray_portal_eval | ( | ccl_private const ShaderClosure * | sc, |
| const float3 | wi, | ||
| const float3 | wo, | ||
| ccl_private float * | pdf ) |
Definition at line 47 of file bsdf_ray_portal.h.
References zero_spectrum.
Referenced by bsdf_eval().
| ccl_device void bsdf_ray_portal_setup | ( | ccl_private ShaderData * | sd, |
| const Spectrum | weight, | ||
| uint32_t | path_flag, | ||
| float3 | position, | ||
| float3 | direction ) |
Definition at line 18 of file bsdf_ray_portal.h.
References average(), ccl_private, closure_alloc(), CLOSURE_BSDF_RAY_PORTAL_ID, CLOSURE_WEIGHT_CUTOFF, fabsf, is_zero(), RayPortalClosure::P, SD_BSDF, and SD_RAY_PORTAL.
Referenced by osl_closure_ray_portal_bsdf_setup(), and svm_node_closure_bsdf().