@NoOffset @Properties(inherit=Bullet3OpenCL.class) public class b3Solver extends b3SolverBase
b3SolverBase.ConstraintCfgPointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Modifier and Type | Field and Description |
|---|---|
static int |
DYNAMIC_CONTACT_ALLOCATION_THRESHOLD
enum b3Solver::
|
| Constructor and Description |
|---|
b3Solver(Pointer p)
Pointer cast constructor.
|
b3Solver(Pointer ctx,
Pointer device,
Pointer queue,
int pairCapacity) |
getPointer, positionaddress, 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 static final int DYNAMIC_CONTACT_ALLOCATION_THRESHOLD
public b3Solver(Pointer p)
Pointer(Pointer).public b3UnsignedIntOCLArray m_numConstraints()
public b3Solver m_numConstraints(b3UnsignedIntOCLArray setter)
public b3UnsignedIntOCLArray m_offsets()
public b3Solver m_offsets(b3UnsignedIntOCLArray setter)
public int m_nIterations()
public b3Solver m_nIterations(int setter)
public b3RadixSort32CL m_sort32()
public b3Solver m_sort32(b3RadixSort32CL setter)
public b3BoundSearchCL m_search()
public b3Solver m_search(b3BoundSearchCL setter)
public b3SortDataOCLArray m_sortDataBuffer()
public b3Solver m_sortDataBuffer(b3SortDataOCLArray setter)
public b3Contact4OCLArray m_contactBuffer2()
public b3Solver m_contactBuffer2(b3Contact4OCLArray setter)
public void solveContactConstraint(@Const b3RigidBodyDataOCLArray bodyBuf, @Const b3InertiaDataOCLArray inertiaBuf, b3GpuConstraint4OCLArray constraint, Pointer additionalData, int n, int maxNumBatches)
public void solveContactConstraintHost(b3RigidBodyDataOCLArray bodyBuf, b3InertiaDataOCLArray shapeBuf, b3GpuConstraint4OCLArray constraint, Pointer additionalData, int n, int maxNumBatches, b3IntArray batchSizes)
public void convertToConstraints(@Const b3RigidBodyDataOCLArray bodyBuf, @Const b3InertiaDataOCLArray shapeBuf, b3Contact4OCLArray contactsIn, b3GpuConstraint4OCLArray contactCOut, Pointer additionalData, int nContacts, @Const @ByRef b3SolverBase.ConstraintCfg cfg)
public void batchContacts(b3Contact4OCLArray contacts, int nContacts, b3UnsignedIntOCLArray n, b3UnsignedIntOCLArray offsets, int staticIdx)
Copyright © 2024. All rights reserved.