Welcome to mirror list, hosted at ThFree Co, Russian Federation.

metal.mm « bvh « cycles « intern - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a785dcab60dff8abbeedbaef19bf43e63a8becd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: Apache-2.0
 * Copyright 2021-2022 Blender Foundation */

#ifdef WITH_METAL

#  include "device/metal/bvh.h"

CCL_NAMESPACE_BEGIN

BVH *bvh_metal_create(const BVHParams &params,
                      const vector<Geometry *> &geometry,
                      const vector<Object *> &objects,
                      Device *device)
{
  return new BVHMetal(params, geometry, objects, device);
}

CCL_NAMESPACE_END

#endif /* WITH_METAL */