Blender
V3.3
intern
cycles
bvh
metal.mm
Go to the documentation of this file.
1
/* SPDX-License-Identifier: Apache-2.0
2
* Copyright 2021-2022 Blender Foundation */
3
4
#ifdef WITH_METAL
5
6
# include "device/metal/bvh.h"
7
8
CCL_NAMESPACE_BEGIN
9
10
BVH
*bvh_metal_create(
const
BVHParams
&
params
,
11
const
vector<Geometry *>
&geometry,
12
const
vector<Object *>
&objects,
13
Device
*device)
14
{
15
return
new
BVHMetal(
params
, geometry, objects, device);
16
}
17
18
CCL_NAMESPACE_END
19
20
#endif
/* WITH_METAL */
BVHParams
Definition:
params.h:54
BVH
Definition:
bvh/bvh.h:63
Device
Definition:
device/device.h:105
vector< Geometry * >
CCL_NAMESPACE_END
#define CCL_NAMESPACE_END
Definition:
cuda/compat.h:9
params
uiWidgetBaseParameters params[MAX_WIDGET_BASE_BATCH]
Definition:
interface_widgets.c:1132
CCL_NAMESPACE_BEGIN
Definition:
python.cpp:37
Generated on Sat Jul 27 2024 14:57:55 for Blender by
doxygen
1.9.1