#pragma once
#include "rtcore_scene.h"
RTC_NAMESPACE_BEGIN
RTCBVH;
struct RTC_ALIGN(32) RTCBuildPrimitive
{ … };
RTCThreadLocalAllocator;
RTCCreateNodeFunction;
RTCSetNodeChildrenFunction;
RTCSetNodeBoundsFunction;
RTCCreateLeafFunction;
RTCSplitPrimitiveFunction;
enum RTCBuildFlags
{ … };
enum RTCBuildConstants
{ … };
struct RTCBuildArguments
{ … };
RTC_FORCEINLINE struct RTCBuildArguments rtcDefaultBuildArguments()
{ … }
RTC_API RTCBVH rtcNewBVH(RTCDevice device);
RTC_API void* rtcBuildBVH(const struct RTCBuildArguments* args);
RTC_API void* rtcThreadLocalAlloc(RTCThreadLocalAllocator allocator, size_t bytes, size_t align);
RTC_API void rtcRetainBVH(RTCBVH bvh);
RTC_API void rtcReleaseBVH(RTCBVH bvh);
RTC_NAMESPACE_END