@Properties(inherit=BulletCollision.class) public class btOptimizedBvh extends btQuantizedBvh
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounterTRAVERSAL_RECURSIVE, TRAVERSAL_STACKLESS, TRAVERSAL_STACKLESS_CACHE_FRIENDLY| Constructor and Description |
|---|
btOptimizedBvh() |
btOptimizedBvh(long size)
Native array allocator.
|
btOptimizedBvh(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
build(btStridingMeshInterface triangles,
boolean useQuantizedAabbCompression,
btVector3 bvhAabbMin,
btVector3 bvhAabbMax) |
static btOptimizedBvh |
deSerializeInPlace(Pointer i_alignedDataBuffer,
int i_dataBufferSize,
boolean i_swapEndian)
deSerializeInPlace loads and initializes a BVH from a buffer in memory 'in place'
|
btOptimizedBvh |
getPointer(long i) |
btOptimizedBvh |
position(long position) |
void |
refit(btStridingMeshInterface triangles,
btVector3 aabbMin,
btVector3 aabbMax) |
void |
refitPartial(btStridingMeshInterface triangles,
btVector3 aabbMin,
btVector3 aabbMax) |
boolean |
serializeInPlace(Pointer o_alignedDataBuffer,
int i_dataBufferSize,
boolean i_swapEndian)
Data buffer MUST be 16 byte aligned
|
void |
updateBvhNodes(btStridingMeshInterface meshInterface,
int firstNode,
int endNode,
int index) |
buildInternal, calculateSerializeBufferSize, calculateSerializeBufferSizeNew, deSerializeDouble, deSerializeFloat, getAlignmentSerializationPadding, getLeafNodeArray, getQuantizedNodeArray, getSubtreeInfoArray, isQuantized, 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 btOptimizedBvh(Pointer p)
Pointer(Pointer).public btOptimizedBvh(long size)
Pointer.position(long).public btOptimizedBvh()
public btOptimizedBvh position(long position)
position in class btQuantizedBvhpublic btOptimizedBvh getPointer(long i)
getPointer in class btQuantizedBvhpublic void build(btStridingMeshInterface triangles, @Cast(value="bool") boolean useQuantizedAabbCompression, @Const @ByRef btVector3 bvhAabbMin, @Const @ByRef btVector3 bvhAabbMax)
public void refit(btStridingMeshInterface triangles, @Const @ByRef btVector3 aabbMin, @Const @ByRef btVector3 aabbMax)
public void refitPartial(btStridingMeshInterface triangles, @Const @ByRef btVector3 aabbMin, @Const @ByRef btVector3 aabbMax)
public void updateBvhNodes(btStridingMeshInterface 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.