|
Blender V5.0
|
#include "kernel/types.h"Go to the source code of this file.
Functions | |
| CCL_NAMESPACE_BEGIN ccl_device void | background_setup (ccl_private ShaderData *sd, const Spectrum weight) |
| ccl_device void | emission_setup (ccl_private ShaderData *sd, const Spectrum weight) |
| ccl_device float | emissive_pdf (const float3 Ng, const float3 wi) |
| ccl_device void | emissive_sample (const float3, const float, const float, ccl_private float3 *, ccl_private float *) |
| ccl_device Spectrum | emissive_simple_eval (const float3 Ng, const float3 wi) |
| CCL_NAMESPACE_BEGIN ccl_device void background_setup | ( | ccl_private ShaderData * | sd, |
| const Spectrum | weight ) |
Definition at line 16 of file emissive.h.
References ccl_device, ccl_private, and SD_EMISSION.
Referenced by osl_closure_background_setup(), and svm_node_closure_background().
| ccl_device void emission_setup | ( | ccl_private ShaderData * | sd, |
| const Spectrum | weight ) |
Definition at line 29 of file emissive.h.
References ccl_device, ccl_private, and SD_EMISSION.
Referenced by osl_closure_emission_setup(), osl_closure_uniform_edf_setup(), svm_node_closure_bsdf(), svm_node_closure_emission(), svm_node_principled_volume(), and svm_node_volume_coefficients().
| ccl_device float emissive_pdf | ( | const float3 | Ng, |
| const float3 | wi ) |
Definition at line 43 of file emissive.h.
References ccl_device, dot(), and fabsf.
Referenced by emissive_simple_eval().
| ccl_device void emissive_sample | ( | const float3 | , |
| const float | , | ||
| const float | , | ||
| ccl_private float3 * | , | ||
| ccl_private float * | ) |
Definition at line 49 of file emissive.h.
References ccl_device, and ccl_private.
| ccl_device Spectrum emissive_simple_eval | ( | const float3 | Ng, |
| const float3 | wi ) |
Definition at line 58 of file emissive.h.
References ccl_device, emissive_pdf(), and make_spectrum.
Referenced by surface_shader_emission().