@Properties(inherit=Bullet3OpenCL.class) public class b3OptimizedBvh extends b3QuantizedBvh
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounterTRAVERSAL_RECURSIVE, TRAVERSAL_STACKLESS, TRAVERSAL_STACKLESS_CACHE_FRIENDLY| Constructor and Description |
|---|
b3OptimizedBvh() |
b3OptimizedBvh(long size)
Native array allocator.
|
b3OptimizedBvh(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
build(b3StridingMeshInterface triangles,
boolean useQuantizedAabbCompression,
b3Vector3 bvhAabbMin,
b3Vector3 bvhAabbMax) |
static b3OptimizedBvh |
deSerializeInPlace(Pointer i_alignedDataBuffer,
int i_dataBufferSize,
boolean i_swapEndian)
deSerializeInPlace loads and initializes a BVH from a buffer in memory 'in place'
|
b3OptimizedBvh |
getPointer(long i) |
b3OptimizedBvh |
position(long position) |
void |
refit(b3StridingMeshInterface triangles,
b3Vector3 aabbMin,
b3Vector3 aabbMax) |
void |
refitPartial(b3StridingMeshInterface triangles,
b3Vector3 aabbMin,
b3Vector3 aabbMax) |
boolean |
serializeInPlace(Pointer o_alignedDataBuffer,
int i_dataBufferSize,
boolean i_swapEndian)
Data buffer MUST be 16 byte aligned
|
void |
updateBvhNodes(b3StridingMeshInterface meshInterface,
int firstNode,
int endNode,
int index) |
buildInternal, calculateSerializeBufferSize, calculateSerializeBufferSizeNew, deSerializeDouble, deSerializeFloat, getAlignmentSerializationPadding, getLeafNodeArray, getQuantizedNodeArray, getSubtreeInfoArray, isQuantized, m_bvhAabbMax, m_bvhAabbMax, m_bvhAabbMin, m_bvhAabbMin, m_bvhQuantization, m_bvhQuantization, quantize, quantize, quantize, quantizeWithClamp, quantizeWithClamp, quantizeWithClamp, reportAabbOverlappingNodex, reportBoxCastOverlappingNodex, reportRayOverlappingNodex, serialize, serialize, setQuantizationValues, setQuantizationValues, setTraversalMode, unQuantize, unQuantize, unQuantizeaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic b3OptimizedBvh(Pointer p)
Pointer(Pointer).public b3OptimizedBvh(long size)
Pointer.position(long).public b3OptimizedBvh()
public b3OptimizedBvh position(long position)
position in class b3QuantizedBvhpublic b3OptimizedBvh getPointer(long i)
getPointer in class b3QuantizedBvhpublic void build(b3StridingMeshInterface triangles, @Cast(value="bool") boolean useQuantizedAabbCompression, @Const @ByRef b3Vector3 bvhAabbMin, @Const @ByRef b3Vector3 bvhAabbMax)
public void refit(b3StridingMeshInterface triangles, @Const @ByRef b3Vector3 aabbMin, @Const @ByRef b3Vector3 aabbMax)
public void refitPartial(b3StridingMeshInterface triangles, @Const @ByRef b3Vector3 aabbMin, @Const @ByRef b3Vector3 aabbMax)
public void updateBvhNodes(b3StridingMeshInterface meshInterface, int firstNode, int endNode, int index)
@Cast(value="bool") public boolean serializeInPlace(Pointer o_alignedDataBuffer, @Cast(value="unsigned") int i_dataBufferSize, @Cast(value="bool") boolean i_swapEndian)
Copyright © 2024. All rights reserved.