Blender
V4.3
intern
cycles
bvh
metal.mm
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2021-2022 Blender Foundation
2
*
3
* SPDX-License-Identifier: Apache-2.0 */
4
5
#ifdef WITH_METAL
6
7
# include "device/metal/bvh.h"
8
9
CCL_NAMESPACE_BEGIN
10
11
BVH
*bvh_metal_create(
const
BVHParams
&
params
,
12
const
vector<Geometry *>
&geometry,
13
const
vector<Object *>
&objects,
14
Device
*device)
15
{
16
return
new
BVHMetal(
params
, geometry, objects, device);
17
}
18
19
CCL_NAMESPACE_END
20
21
#endif
/* WITH_METAL */
BVHParams
Definition
params.h:58
BVH
Definition
bvh/bvh.h:66
Device
Definition
device/device.h:136
vector
Definition
cycles/util/vector.h:22
CCL_NAMESPACE_END
#define CCL_NAMESPACE_END
Definition
device/cuda/compat.h:10
params
uiWidgetBaseParameters params[MAX_WIDGET_BASE_BATCH]
Definition
interface_widgets.cc:1055
CCL_NAMESPACE_BEGIN
Definition
python.cpp:44
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0