// Copyright 2009-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 #pragma once #include <type_traits> #include "bvh_builder_twolevel_internal.h" #include "bvh.h" #include "../builders/priminfo.h" #include "../builders/primrefgen.h" /* new open/merge builder */ #define ENABLE_DIRECT_SAH_MERGE_BUILDER … #define ENABLE_OPEN_SEQUENTIAL … #define SPLIT_MEMORY_RESERVE_FACTOR … #define SPLIT_MEMORY_RESERVE_SCALE … #define SPLIT_MIN_EXT_SPACE … namespace embree { namespace isa { template<int N, typename Mesh, typename Primitive> class BVHNBuilderTwoLevel : public Builder { … }; } }