Blender
V5.0
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
# include "
util/unique_ptr.h
"
10
11
CCL_NAMESPACE_BEGIN
12
13
unique_ptr<BVH>
bvh_metal_create(
const
BVHParams
&
params
,
14
const
vector<Geometry *>
&geometry,
15
const
vector<Object *>
&objects,
16
Device
*device)
17
{
18
return
make_unique<BVHMetal>(
params
, geometry, objects, device);
19
}
20
21
CCL_NAMESPACE_END
22
23
#endif
/* WITH_METAL */
BVHParams
Definition
params.h:57
Device
Definition
device/device.h:126
unique_ptr
vector
Definition
cycles/util/vector.h:20
CCL_NAMESPACE_END
#define CCL_NAMESPACE_END
Definition
device/cuda/compat.h:10
params
uiWidgetBaseParameters params[MAX_WIDGET_BASE_BATCH]
Definition
interface_widgets.cc:1066
CCL_NAMESPACE_BEGIN
Definition
python.cpp:37
unique_ptr.h
Generated on
for Blender by
doxygen
1.16.1