|
Blender V4.3
|
#include "kernel/film/light_passes.h"#include "kernel/integrator/surface_shader.h"#include "kernel/light/light.h"#include "kernel/light/sample.h"Go to the source code of this file.
| CCL_NAMESPACE_BEGIN ccl_device_inline void integrate_light | ( | KernelGlobals | kg, |
| IntegratorState | state, | ||
| ccl_global float *ccl_restrict | render_buffer ) |
Definition at line 14 of file shade_light.h.
References AS_SHADER_DATA, ccl_optional_struct_init, ccl_private, film_write_surface_emission(), flag, guiding_record_light_surface_segment(), guiding_record_surface_emission(), INTEGRATOR_STATE, integrator_state_read_isect(), INTEGRATOR_STATE_WRITE, intersection_t_offset(), is_light_shader_visible_to_path(), is_zero(), light_sample_from_intersection(), light_sample_mis_weight_forward_lamp(), light_sample_shader_eval(), N, P, render_buffer, ShaderData, ShaderDataTinyStorage, and state.
Referenced by integrator_shade_light().
| ccl_device void integrator_shade_light | ( | KernelGlobals | kg, |
| IntegratorState | state, | ||
| ccl_global float *ccl_restrict | render_buffer ) |
Definition at line 65 of file shade_light.h.
References DEVICE_KERNEL_INTEGRATOR_INTERSECT_CLOSEST, DEVICE_KERNEL_INTEGRATOR_SHADE_LIGHT, integrate_light(), integrator_path_next(), integrator_path_terminate(), INTEGRATOR_STATE, INTEGRATOR_STATE_WRITE, kernel_data, PROFILING_INIT, PROFILING_SHADE_LIGHT_SETUP, render_buffer, and state.
Referenced by integrator_megakernel().