Blender V5.3
intersect_subsurface.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
2 *
3 * SPDX-License-Identifier: Apache-2.0 */
4
5#pragma once
6
8
10
12{
14
15#ifdef __SUBSURFACE__
16 if (subsurface_scatter(kg, state)) {
17 return;
18 }
19#endif
20
22}
23
#define CCL_NAMESPACE_END
CCL_NAMESPACE_BEGIN ccl_device void integrator_intersect_subsurface(KernelGlobals kg, IntegratorState state)
const int state
@ DEVICE_KERNEL_INTEGRATOR_INTERSECT_SUBSURFACE
#define PROFILING_INIT(kg, event)
@ PROFILING_INTERSECT_SUBSURFACE
Definition profiling.h:20
#define ccl_device
IntegratorStateCPU * IntegratorState
Definition state.h:227
ccl_device_forceinline void integrator_path_terminate(KernelGlobals kg, IntegratorState state, ccl_global float *ccl_restrict render_buffer, const DeviceKernel current_kernel)
Definition state_flow.h:227