43 bool refitTets =
true);
55 {
return myBVHNodes.buffer(); }
58 {
return myVertices.buffer(); }
61 {
return myPrimIdx.buffer(); }
70 void buildDepthIndex(
bool reverse =
true);
77 struct __declspec (align(16)) cebvhvec4
79 struct __attribute__((aligned(16))) cebvhvec4
82 union {
struct {
float x,
y,
z,
w; };
float cell[4]; };
87 union {
struct {
float x,
y,
z; };
float cell[3]; };
const cl::Buffer & nodeBuffer() const
GLdouble GLdouble GLdouble z
CE_Int32Array mySingleDepthCounts
PUGI__FN void reverse(I begin, I end)
CE_BufferDevice< ceBVHNode > myBVHNodes
CE_BufferDevice< cebvhvec4 > myVertices
CE_Int32Array myDepthIndex
CE_Int32Array mySingleDepthOffsets
const cl::Buffer & primIdxBuffer() const
GLubyte GLubyte GLubyte GLubyte w
UT_IntArray myDepthCounts
const cl::Buffer & verticesBuffer() const