|
Blender V5.3
|
#include "kernel/film/data_passes.h"#include "kernel/film/denoising_passes.h"#include "kernel/film/light_passes.h"#include "kernel/integrator/guiding.h"#include "kernel/integrator/intersect_closest.h"#include "kernel/integrator/state_flow.h"#include "kernel/integrator/surface_shader.h"#include "kernel/light/light.h"#include "kernel/light/sample.h"#include "kernel/geom/object.h"#include "kernel/geom/shader_data.h"#include "kernel/types.h"Go to the source code of this file.
Functions | |
| CCL_NAMESPACE_BEGIN ccl_device void | integrator_shade_background_cache_miss_set_resume_offset (IntegratorState state, const int resume_offset) |
| ccl_device int | integrator_shade_background_cache_miss_get_resume_offset (IntegratorState state) |
| ccl_device Spectrum | integrator_eval_background_shader (KernelGlobals kg, IntegratorState state, ccl_global float *ccl_restrict render_buffer, ccl_private ShaderEvalResult &result) |
| ccl_device_inline ShaderEvalResult | integrate_background (KernelGlobals kg, IntegratorState state, ccl_global float *ccl_restrict render_buffer) |
| ccl_device_inline ShaderEvalResult | integrate_sun_lights (KernelGlobals kg, IntegratorState state, ccl_global float *ccl_restrict render_buffer) |
| ccl_device void | integrator_shade_background (KernelGlobals kg, IntegratorState state, ccl_global float *ccl_restrict render_buffer) |
| ccl_device_inline ShaderEvalResult integrate_background | ( | KernelGlobals | kg, |
| IntegratorState | state, | ||
| ccl_global float *ccl_restrict | render_buffer ) |
Definition at line 93 of file shade_background.h.
References average(), ccl_device_inline, ccl_global, ccl_restrict, film_write_background(), film_write_data_passes_background(), guiding_record_background(), integrate_background(), integrator_eval_background_shader(), integrator_shade_background_cache_miss_set_resume_offset(), INTEGRATOR_STATE, kernel_data, kernel_data_fetch, L, LIGHT_BACKGROUND, light_sample_mis_weight_forward_background(), PASSMASK, PATH_MNEE_CULL_LIGHT_CONNECTION, PATH_RAY_TRANSPARENT_BACKGROUND, path_state_ao_bounce(), render_buffer, SHADER_EVAL_CACHE_MISS, SHADER_EVAL_EMPTY, SHADER_EVAL_OK, state, and zero_spectrum.
Referenced by integrate_background(), and integrator_shade_background().
| ccl_device_inline ShaderEvalResult integrate_sun_lights | ( | KernelGlobals | kg, |
| IntegratorState | state, | ||
| ccl_global float *ccl_restrict | render_buffer ) |
Definition at line 169 of file shade_background.h.
References ccl_device_inline, ccl_global, ccl_restrict, D, LightEval::eval_fac, film_write_surface_emission(), FLT_MAX, guiding_record_background(), integrate_sun_lights(), integrator_shade_background_cache_miss_get_resume_offset(), integrator_shade_background_cache_miss_set_resume_offset(), INTEGRATOR_STATE, is_light_shader_visible_to_path(), is_zero(), kernel_data, kernel_data_fetch, LIGHT_LINK_MASK_ALL, light_link_object_match(), light_link_receiver_forward(), light_sample_mis_weight_forward_distant(), light_sample_shader_eval_forward(), LIGHT_SUN, object_lightgroup(), PATH_MNEE_CULL_LIGHT_CONNECTION, PATH_RAY_VISIBILITY_CAMERA, LightEval::pdf, render_buffer, SHADER_EVAL_CACHE_MISS, SHADER_EVAL_OK, SHADER_USE_MIS, state, sun_light_eval_from_intersection(), and zero_float3().
Referenced by integrate_sun_lights(), and integrator_shade_background().
| ccl_device Spectrum integrator_eval_background_shader | ( | KernelGlobals | kg, |
| IntegratorState | state, | ||
| ccl_global float *ccl_restrict | render_buffer, | ||
| ccl_private ShaderEvalResult & | result ) |
Definition at line 40 of file shade_background.h.
References AS_SHADER_DATA, background_light_clamp_dD(), ccl_device, ccl_global, ccl_private, ccl_restrict, D, integrator_eval_background_shader(), INTEGRATOR_STATE, is_light_shader_visible_to_path(), kernel_data, L, P, PATH_RAY_EMISSION, PATH_RAY_VISIBILITY_CAMERA, PROFILING_EVENT, PROFILING_INIT_FOR_SHADER, PROFILING_SHADE_LIGHT_EVAL, PROFILING_SHADE_LIGHT_SETUP, PROFILING_SHADER, render_buffer, SHADER_EVAL_CACHE_MISS, SHADER_EVAL_EMPTY, SHADER_EVAL_OK, shader_setup_from_background(), SR_CACHE_MISS, state, surface_shader_background(), surface_shader_constant_emission(), surface_shader_eval(), and zero_spectrum.
Referenced by integrate_background(), and integrator_eval_background_shader().
| ccl_device void integrator_shade_background | ( | KernelGlobals | kg, |
| IntegratorState | state, | ||
| ccl_global float *ccl_restrict | render_buffer ) |
Definition at line 249 of file shade_background.h.
References ccl_device, ccl_global, ccl_restrict, DEVICE_KERNEL_INTEGRATOR_SHADE_BACKGROUND, integrate_background(), integrate_sun_lights(), integrator_path_cache_miss(), integrator_path_terminate(), integrator_shade_background(), INTEGRATOR_STATE, INTEGRATOR_STATE_WRITE, PATH_RAY_SHADOW_CATCHER_BACKGROUND, PROFILING_INIT, PROFILING_SHADE_LIGHT_SETUP, render_buffer, SHADER_EVAL_CACHE_MISS, and state.
Referenced by integrator_megakernel(), and integrator_shade_background().
| ccl_device int integrator_shade_background_cache_miss_get_resume_offset | ( | IntegratorState | state | ) |
Definition at line 33 of file shade_background.h.
References ccl_device, integrator_shade_background_cache_miss_get_resume_offset(), INTEGRATOR_STATE_WRITE, PRIM_NONE, and state.
Referenced by integrate_sun_lights(), and integrator_shade_background_cache_miss_get_resume_offset().
| CCL_NAMESPACE_BEGIN ccl_device void integrator_shade_background_cache_miss_set_resume_offset | ( | IntegratorState | state, |
| const int | resume_offset ) |
Definition at line 26 of file shade_background.h.
References ccl_device, integrator_shade_background_cache_miss_set_resume_offset(), INTEGRATOR_STATE_WRITE, and state.
Referenced by integrate_background(), integrate_sun_lights(), and integrator_shade_background_cache_miss_set_resume_offset().