Blender  V3.3
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 
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 
19 
20 #endif /* WITH_METAL */
Definition: bvh/bvh.h:63
#define CCL_NAMESPACE_END
Definition: cuda/compat.h:9
uiWidgetBaseParameters params[MAX_WIDGET_BASE_BATCH]