godot/thirdparty/embree/kernels/common/rtcore_builder.cpp

// Copyright 2009-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0

#define RTC_EXPORT_API

#include "default.h"
#include "device.h"
#include "scene.h"
#include "context.h"
#include "alloc.h"

#include "../builders/bvh_builder_sah.h"
#include "../builders/bvh_builder_morton.h"

namespace embree
{ 
  namespace isa // FIXME: support more ISAs for builders
  {
    struct BVH : public RefCount
    {};

    void* rtcBuildBVHMorton(const RTCBuildArguments* arguments)
    {}

    void* rtcBuildBVHBinnedSAH(const RTCBuildArguments* arguments)
    {}

    static __forceinline const std::pair<CentGeomBBox3fa,unsigned int> mergePair(const std::pair<CentGeomBBox3fa,unsigned int>& a, const std::pair<CentGeomBBox3fa,unsigned int>& b) {}

    void* rtcBuildBVHSpatialSAH(const RTCBuildArguments* arguments)
    {}
  }
}

usingnamespaceembree;
usingnamespaceembree::isa;

RTC_NAMESPACE_BEGIN

    RTC_API RTCBVH rtcNewBVH(RTCDevice device)
    {}

    RTC_API void* rtcBuildBVH(const RTCBuildArguments* arguments)
    {}

    RTC_API void* rtcThreadLocalAlloc(RTCThreadLocalAllocator localAllocator, size_t bytes, size_t align)
    {}

    RTC_API void rtcMakeStaticBVH(RTCBVH hbvh)
    {}

    RTC_API void rtcRetainBVH(RTCBVH hbvh)
    {}
    
    RTC_API void rtcReleaseBVH(RTCBVH hbvh)
    {}

RTC_NAMESPACE_END