CudaKDTreeTracer(void)
Constructor.
void setMessageWindow(Window *window)
Cuda friendly KDTree representation.
BVHLayout getDesiredBVHLayout(void) const
Ray buffer class. Stores rays.
void setMessageWindow(Window *window)
Sets message window for the CUDA compiler.
Definitions for Cuda KDTree.
void setKernel(const String &kernelName)
Sets kernel that should perform the actual traversation of the k-d tree on the gpu.
F32 traceBatch(RayBuffer &rays)
Traces given batch of rays.
void setBVH(CudaAS *kdtree)
Sets k-d tree acceleration structure that will be traversed.
const AABB & getBBox(void) const
Returns bounding box of the CudaKDTree's source scene.
Interface for acceleration structure.
~CudaKDTreeTracer(void)
Destructor.
Cuda tracer for the k-d tree acceleration structure. Performs kd-tree traversal on the GPU...