Blender
V4.5
intern
cycles
kernel
integrator
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
7
#include "
kernel/integrator/subsurface.h
"
8
9
CCL_NAMESPACE_BEGIN
10
11
ccl_device
void
integrator_intersect_subsurface
(
KernelGlobals
kg,
IntegratorState
state
)
12
{
13
PROFILING_INIT
(kg,
PROFILING_INTERSECT_SUBSURFACE
);
14
15
#ifdef __SUBSURFACE__
16
if
(subsurface_scatter(kg,
state
)) {
17
return
;
18
}
19
#endif
20
21
integrator_path_terminate
(kg,
state
,
DEVICE_KERNEL_INTEGRATOR_INTERSECT_SUBSURFACE
);
22
}
23
24
CCL_NAMESPACE_END
ccl_device
#define ccl_device
Definition
device/cuda/compat.h:33
CCL_NAMESPACE_END
#define CCL_NAMESPACE_END
Definition
device/cuda/compat.h:10
integrator_intersect_subsurface
CCL_NAMESPACE_BEGIN ccl_device void integrator_intersect_subsurface(KernelGlobals kg, IntegratorState state)
Definition
intersect_subsurface.h:11
DEVICE_KERNEL_INTEGRATOR_INTERSECT_SUBSURFACE
@ DEVICE_KERNEL_INTEGRATOR_INTERSECT_SUBSURFACE
Definition
kernel/types.h:1806
state
static ulong state[N]
Definition
mathutils_noise.cc:56
CCL_NAMESPACE_BEGIN
Definition
python.cpp:37
PROFILING_INIT
#define PROFILING_INIT(kg, event)
Definition
profiler.h:14
PROFILING_INTERSECT_SUBSURFACE
@ PROFILING_INTERSECT_SUBSURFACE
Definition
profiling.h:20
integrator_path_terminate
ccl_device_forceinline void integrator_path_terminate(KernelGlobals kg, IntegratorState state, const DeviceKernel current_kernel)
Definition
state_flow.h:182
IntegratorStateCPU
Definition
state.h:71
ThreadKernelGlobalsCPU
Definition
device/cpu/globals.h:59
subsurface.h
Generated on Fri Apr 3 2026 06:33:18 for Blender by
doxygen
1.11.0