16 float lower_x, lower_y, lower_z;
18 float upper_x, upper_y, upper_z;
35 typedef void* (*RTCCreateLeafFunction) (
RTCThreadLocalAllocator allocator,
const struct RTCBuildPrimitive* primitives,
size_t primitiveCount,
void* userPtr);
38 typedef void (*
RTCSplitPrimitiveFunction) (
const struct RTCBuildPrimitive* primitive,
unsigned int dimension,
float position,
struct RTCBounds* leftBounds,
struct RTCBounds* rightBounds,
void* userPtr);
typedefRTC_NAMESPACE_BEGIN struct RTCBVHTy * RTCBVH
void *(* RTCCreateNodeFunction)(RTCThreadLocalAllocator allocator, unsigned int childCount, void *userPtr)
enum RTCBuildFlags buildFlags
RTC_API void * rtcThreadLocalAlloc(RTCThreadLocalAllocator allocator, size_t bytes, size_t align)
RTC_API void * rtcBuildBVH(const struct RTCBuildArguments *args)
typedefRTC_NAMESPACE_BEGIN struct RTCDeviceTy * RTCDevice
unsigned int maxBranchingFactor
RTCSplitPrimitiveFunction splitPrimitive
RTC_API RTCBVH rtcNewBVH(RTCDevice device)
RTCProgressMonitorFunction buildProgress
RTCSetNodeBoundsFunction setNodeBounds
void(* RTCSetNodeBoundsFunction)(void *nodePtr, const struct RTCBounds **bounds, unsigned int childCount, void *userPtr)
RTC_API void rtcRetainBVH(RTCBVH bvh)
void(* RTCSplitPrimitiveFunction)(const struct RTCBuildPrimitive *primitive, unsigned int dimension, float position, struct RTCBounds *leftBounds, struct RTCBounds *rightBounds, void *userPtr)
RTCSetNodeChildrenFunction setNodeChildren
size_t primitiveArrayCapacity
void *(* RTCCreateLeafFunction)(RTCThreadLocalAllocator allocator, const struct RTCBuildPrimitive *primitives, size_t primitiveCount, void *userPtr)
struct RTC_ALIGN(32) RTCBuildPrimitive
RTC_FORCEINLINE struct RTCBuildArguments rtcDefaultBuildArguments()
void(* RTCSetNodeChildrenFunction)(void *nodePtr, void **children, unsigned int childCount, void *userPtr)
enum RTCBuildQuality buildQuality
RTCCreateLeafFunction createLeaf
RTC_API void rtcReleaseBVH(RTCBVH bvh)
#define RTC_NAMESPACE_END
struct RTCThreadLocalAllocatorTy * RTCThreadLocalAllocator
SIM_API const UT_StringHolder position
**If you just want to fire and args
bool(* RTCProgressMonitorFunction)(void *ptr, double n)
unsigned int sahBlockSize
struct RTCBuildPrimitive * primitives
RTCCreateNodeFunction createNode
#define RTC_NAMESPACE_BEGIN