NTrace
GPU ray tracing framework
|
Interface for acceleration structure. More...
#include <CudaAS.hpp>
Inherited by FW::CudaBVH, and FW::CudaKDTree.
Public Member Functions | |
virtual | ~CudaAS (void) |
Destructor. More... | |
virtual Buffer & | getNodeBuffer (void)=0 |
Returns node buffer. More... | |
virtual Buffer & | getTriWoopBuffer (void)=0 |
Returns buffer of woopified triangles. More... | |
virtual Buffer & | getTriIndexBuffer (void)=0 |
Returns buffer of triangle indexes. More... | |
virtual BVHLayout | getLayout (void) const =0 |
Returns layout of buffers. More... | |
virtual void | serialize (OutputStream &out)=0 |
Writes buffers to outpu stream. More... | |
Interface for acceleration structure.
Acceleration structures used in rendering muse immplement this interface.
Definition at line 19 of file CudaAS.hpp.
|
inlinevirtual |
Destructor.
Definition at line 25 of file CudaAS.hpp.
Returns layout of buffers.
Implemented in FW::CudaBVH, and FW::CudaKDTree.
Returns buffer of triangle indexes.
Implemented in FW::CudaBVH, and FW::CudaKDTree.
Returns buffer of woopified triangles.
Implemented in FW::CudaBVH, and FW::CudaKDTree.
|
pure virtual |
Writes buffers to outpu stream.
[in] | out | Output stream to write to. |
Implemented in FW::CudaBVH, and FW::CudaKDTree.