@NoOffset @Properties(inherit=Bullet3OpenCL.class) public class b3GpuGridBroadphase extends b3GpuBroadphaseInterface
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
b3GpuGridBroadphase(Pointer p)
Pointer cast constructor.
|
b3GpuGridBroadphase(Pointer ctx,
Pointer device,
Pointer q) |
| Modifier and Type | Method and Description |
|---|---|
void |
calculateOverlappingPairs(int maxPairs) |
void |
calculateOverlappingPairsHost(int maxPairs) |
static b3GpuBroadphaseInterface |
CreateFunc(Pointer ctx,
Pointer device,
Pointer q) |
void |
createLargeProxy(b3Vector3 aabbMin,
b3Vector3 aabbMax,
int userPtr,
int collisionFilterGroup,
int collisionFilterMask) |
void |
createProxy(b3Vector3 aabbMin,
b3Vector3 aabbMax,
int userPtr,
int collisionFilterGroup,
int collisionFilterMask) |
Pointer |
getAabbBufferWS() |
b3SapAabbArray |
getAllAabbsCPU() |
b3SapAabbOCLArray |
getAllAabbsGPU() |
b3IntOCLArray |
getLargeAabbIndicesGPU() |
int |
getNumOverlap() |
Pointer |
getOverlappingPairBuffer() |
b3Int4OCLArray |
getOverlappingPairsGPU() |
b3IntOCLArray |
getSmallAabbIndicesGPU() |
void |
writeAabbsToGpu() |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic b3GpuGridBroadphase(Pointer p)
Pointer(Pointer).public static b3GpuBroadphaseInterface CreateFunc(@Cast(value="cl_context") Pointer ctx, @Cast(value="cl_device_id") Pointer device, @Cast(value="cl_command_queue") Pointer q)
public void createProxy(@Const @ByRef b3Vector3 aabbMin, @Const @ByRef b3Vector3 aabbMax, int userPtr, int collisionFilterGroup, int collisionFilterMask)
createProxy in class b3GpuBroadphaseInterfacepublic void createLargeProxy(@Const @ByRef b3Vector3 aabbMin, @Const @ByRef b3Vector3 aabbMax, int userPtr, int collisionFilterGroup, int collisionFilterMask)
createLargeProxy in class b3GpuBroadphaseInterfacepublic void calculateOverlappingPairs(int maxPairs)
calculateOverlappingPairs in class b3GpuBroadphaseInterfacepublic void calculateOverlappingPairsHost(int maxPairs)
calculateOverlappingPairsHost in class b3GpuBroadphaseInterfacepublic void writeAabbsToGpu()
writeAabbsToGpu in class b3GpuBroadphaseInterface@Cast(value="cl_mem") public Pointer getAabbBufferWS()
getAabbBufferWS in class b3GpuBroadphaseInterfacepublic int getNumOverlap()
getNumOverlap in class b3GpuBroadphaseInterface@Cast(value="cl_mem") public Pointer getOverlappingPairBuffer()
getOverlappingPairBuffer in class b3GpuBroadphaseInterface@ByRef public b3SapAabbOCLArray getAllAabbsGPU()
getAllAabbsGPU in class b3GpuBroadphaseInterface@ByRef public b3SapAabbArray getAllAabbsCPU()
getAllAabbsCPU in class b3GpuBroadphaseInterface@ByRef public b3Int4OCLArray getOverlappingPairsGPU()
getOverlappingPairsGPU in class b3GpuBroadphaseInterface@ByRef public b3IntOCLArray getSmallAabbIndicesGPU()
getSmallAabbIndicesGPU in class b3GpuBroadphaseInterface@ByRef public b3IntOCLArray getLargeAabbIndicesGPU()
getLargeAabbIndicesGPU in class b3GpuBroadphaseInterfaceCopyright © 2024. All rights reserved.