Blender V5.0
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
12
13unique_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
22
23#endif /* WITH_METAL */
#define CCL_NAMESPACE_END
uiWidgetBaseParameters params[MAX_WIDGET_BASE_BATCH]