@NoOffset @Properties(inherit=BulletCollision.class) public class btStridingMeshInterface extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
btStridingMeshInterface(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
calculateAabbBruteForce(btVector3 aabbMin,
btVector3 aabbMax)
brute force method to calculate aabb
|
int |
calculateSerializeBufferSize() |
void |
getLockedReadOnlyVertexIndexBase(byte[] vertexbase,
int[] numverts,
int[] type,
int[] stride,
byte[] indexbase,
int[] indexstride,
int[] numfaces,
int[] indicestype) |
void |
getLockedReadOnlyVertexIndexBase(byte[] vertexbase,
int[] numverts,
int[] type,
int[] stride,
byte[] indexbase,
int[] indexstride,
int[] numfaces,
int[] indicestype,
int subpart) |
void |
getLockedReadOnlyVertexIndexBase(ByteBuffer vertexbase,
IntBuffer numverts,
IntBuffer type,
IntBuffer stride,
ByteBuffer indexbase,
IntBuffer indexstride,
IntBuffer numfaces,
IntBuffer indicestype) |
void |
getLockedReadOnlyVertexIndexBase(ByteBuffer vertexbase,
IntBuffer numverts,
IntBuffer type,
IntBuffer stride,
ByteBuffer indexbase,
IntBuffer indexstride,
IntBuffer numfaces,
IntBuffer indicestype,
int subpart) |
void |
getLockedReadOnlyVertexIndexBase(BytePointer vertexbase,
IntPointer numverts,
IntPointer type,
IntPointer stride,
BytePointer indexbase,
IntPointer indexstride,
IntPointer numfaces,
IntPointer indicestype) |
void |
getLockedReadOnlyVertexIndexBase(BytePointer vertexbase,
IntPointer numverts,
IntPointer type,
IntPointer stride,
BytePointer indexbase,
IntPointer indexstride,
IntPointer numfaces,
IntPointer indicestype,
int subpart) |
void |
getLockedReadOnlyVertexIndexBase(PointerPointer vertexbase,
IntPointer numverts,
IntPointer type,
IntPointer stride,
PointerPointer indexbase,
IntPointer indexstride,
IntPointer numfaces,
IntPointer indicestype,
int subpart) |
void |
getLockedVertexIndexBase(byte[] vertexbase,
int[] numverts,
int[] type,
int[] stride,
byte[] indexbase,
int[] indexstride,
int[] numfaces,
int[] indicestype) |
void |
getLockedVertexIndexBase(byte[] vertexbase,
int[] numverts,
int[] type,
int[] stride,
byte[] indexbase,
int[] indexstride,
int[] numfaces,
int[] indicestype,
int subpart) |
void |
getLockedVertexIndexBase(ByteBuffer vertexbase,
IntBuffer numverts,
IntBuffer type,
IntBuffer stride,
ByteBuffer indexbase,
IntBuffer indexstride,
IntBuffer numfaces,
IntBuffer indicestype) |
void |
getLockedVertexIndexBase(ByteBuffer vertexbase,
IntBuffer numverts,
IntBuffer type,
IntBuffer stride,
ByteBuffer indexbase,
IntBuffer indexstride,
IntBuffer numfaces,
IntBuffer indicestype,
int subpart) |
void |
getLockedVertexIndexBase(BytePointer vertexbase,
IntPointer numverts,
IntPointer type,
IntPointer stride,
BytePointer indexbase,
IntPointer indexstride,
IntPointer numfaces,
IntPointer indicestype) |
void |
getLockedVertexIndexBase(BytePointer vertexbase,
IntPointer numverts,
IntPointer type,
IntPointer stride,
BytePointer indexbase,
IntPointer indexstride,
IntPointer numfaces,
IntPointer indicestype,
int subpart) |
void |
getLockedVertexIndexBase(PointerPointer vertexbase,
IntPointer numverts,
IntPointer type,
IntPointer stride,
PointerPointer indexbase,
IntPointer indexstride,
IntPointer numfaces,
IntPointer indicestype,
int subpart)
get read and write access to a subpart of a triangle mesh
this subpart has a continuous array of vertices and indices
in this way the mesh can be handled as chunks of memory with striding
very similar to OpenGL vertexarray support
make a call to unLockVertexBase when the read and write access is finished
|
int |
getNumSubParts()
getNumSubParts returns the number of separate subparts
each subpart has a continuous array of vertices and indices
|
void |
getPremadeAabb(btVector3 aabbMin,
btVector3 aabbMax) |
btVector3 |
getScaling() |
boolean |
hasPremadeAabb() |
void |
InternalProcessAllTriangles(btInternalTriangleIndexCallback callback,
btVector3 aabbMin,
btVector3 aabbMax) |
void |
preallocateIndices(int numindices) |
void |
preallocateVertices(int numverts) |
BytePointer |
serialize(Pointer dataBuffer,
btSerializer serializer)
fills the dataBuffer and returns the struct name (and 0 on failure)
|
void |
setPremadeAabb(btVector3 aabbMin,
btVector3 aabbMax) |
void |
setScaling(btVector3 scaling) |
void |
unLockReadOnlyVertexBase(int subpart) |
void |
unLockVertexBase(int subpart)
unLockVertexBase finishes the access to a subpart of the triangle mesh
make a call to unLockVertexBase when the read and write access (using getLockedVertexIndexBase) is finished
|
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 btStridingMeshInterface(Pointer p)
Pointer(Pointer).public void InternalProcessAllTriangles(btInternalTriangleIndexCallback callback, @Const @ByRef btVector3 aabbMin, @Const @ByRef btVector3 aabbMax)
public void calculateAabbBruteForce(@ByRef btVector3 aabbMin, @ByRef btVector3 aabbMax)
public void getLockedVertexIndexBase(@Cast(value="unsigned char**") PointerPointer vertexbase, @ByRef IntPointer numverts, @Cast(value="PHY_ScalarType*") @ByRef IntPointer type, @ByRef IntPointer stride, @Cast(value="unsigned char**") PointerPointer indexbase, @ByRef IntPointer indexstride, @ByRef IntPointer numfaces, @Cast(value="PHY_ScalarType*") @ByRef IntPointer indicestype, int subpart)
public void getLockedVertexIndexBase(@Cast(value="unsigned char**") @ByPtrPtr BytePointer vertexbase, @ByRef IntPointer numverts, @Cast(value="PHY_ScalarType*") @ByRef IntPointer type, @ByRef IntPointer stride, @Cast(value="unsigned char**") @ByPtrPtr BytePointer indexbase, @ByRef IntPointer indexstride, @ByRef IntPointer numfaces, @Cast(value="PHY_ScalarType*") @ByRef IntPointer indicestype)
public void getLockedVertexIndexBase(@Cast(value="unsigned char**") @ByPtrPtr BytePointer vertexbase, @ByRef IntPointer numverts, @Cast(value="PHY_ScalarType*") @ByRef IntPointer type, @ByRef IntPointer stride, @Cast(value="unsigned char**") @ByPtrPtr BytePointer indexbase, @ByRef IntPointer indexstride, @ByRef IntPointer numfaces, @Cast(value="PHY_ScalarType*") @ByRef IntPointer indicestype, int subpart)
public void getLockedVertexIndexBase(@Cast(value="unsigned char**") @ByPtrPtr ByteBuffer vertexbase, @ByRef IntBuffer numverts, @Cast(value="PHY_ScalarType*") @ByRef IntBuffer type, @ByRef IntBuffer stride, @Cast(value="unsigned char**") @ByPtrPtr ByteBuffer indexbase, @ByRef IntBuffer indexstride, @ByRef IntBuffer numfaces, @Cast(value="PHY_ScalarType*") @ByRef IntBuffer indicestype, int subpart)
public void getLockedVertexIndexBase(@Cast(value="unsigned char**") @ByPtrPtr ByteBuffer vertexbase, @ByRef IntBuffer numverts, @Cast(value="PHY_ScalarType*") @ByRef IntBuffer type, @ByRef IntBuffer stride, @Cast(value="unsigned char**") @ByPtrPtr ByteBuffer indexbase, @ByRef IntBuffer indexstride, @ByRef IntBuffer numfaces, @Cast(value="PHY_ScalarType*") @ByRef IntBuffer indicestype)
public void getLockedVertexIndexBase(@Cast(value="unsigned char**") @ByPtrPtr byte[] vertexbase, @ByRef int[] numverts, @Cast(value="PHY_ScalarType*") @ByRef int[] type, @ByRef int[] stride, @Cast(value="unsigned char**") @ByPtrPtr byte[] indexbase, @ByRef int[] indexstride, @ByRef int[] numfaces, @Cast(value="PHY_ScalarType*") @ByRef int[] indicestype, int subpart)
public void getLockedVertexIndexBase(@Cast(value="unsigned char**") @ByPtrPtr byte[] vertexbase, @ByRef int[] numverts, @Cast(value="PHY_ScalarType*") @ByRef int[] type, @ByRef int[] stride, @Cast(value="unsigned char**") @ByPtrPtr byte[] indexbase, @ByRef int[] indexstride, @ByRef int[] numfaces, @Cast(value="PHY_ScalarType*") @ByRef int[] indicestype)
public void getLockedReadOnlyVertexIndexBase(@Cast(value="const unsigned char**") PointerPointer vertexbase, @ByRef IntPointer numverts, @Cast(value="PHY_ScalarType*") @ByRef IntPointer type, @ByRef IntPointer stride, @Cast(value="const unsigned char**") PointerPointer indexbase, @ByRef IntPointer indexstride, @ByRef IntPointer numfaces, @Cast(value="PHY_ScalarType*") @ByRef IntPointer indicestype, int subpart)
public void getLockedReadOnlyVertexIndexBase(@Cast(value="const unsigned char**") @ByPtrPtr BytePointer vertexbase, @ByRef IntPointer numverts, @Cast(value="PHY_ScalarType*") @ByRef IntPointer type, @ByRef IntPointer stride, @Cast(value="const unsigned char**") @ByPtrPtr BytePointer indexbase, @ByRef IntPointer indexstride, @ByRef IntPointer numfaces, @Cast(value="PHY_ScalarType*") @ByRef IntPointer indicestype)
public void getLockedReadOnlyVertexIndexBase(@Cast(value="const unsigned char**") @ByPtrPtr BytePointer vertexbase, @ByRef IntPointer numverts, @Cast(value="PHY_ScalarType*") @ByRef IntPointer type, @ByRef IntPointer stride, @Cast(value="const unsigned char**") @ByPtrPtr BytePointer indexbase, @ByRef IntPointer indexstride, @ByRef IntPointer numfaces, @Cast(value="PHY_ScalarType*") @ByRef IntPointer indicestype, int subpart)
public void getLockedReadOnlyVertexIndexBase(@Cast(value="const unsigned char**") @ByPtrPtr ByteBuffer vertexbase, @ByRef IntBuffer numverts, @Cast(value="PHY_ScalarType*") @ByRef IntBuffer type, @ByRef IntBuffer stride, @Cast(value="const unsigned char**") @ByPtrPtr ByteBuffer indexbase, @ByRef IntBuffer indexstride, @ByRef IntBuffer numfaces, @Cast(value="PHY_ScalarType*") @ByRef IntBuffer indicestype, int subpart)
public void getLockedReadOnlyVertexIndexBase(@Cast(value="const unsigned char**") @ByPtrPtr ByteBuffer vertexbase, @ByRef IntBuffer numverts, @Cast(value="PHY_ScalarType*") @ByRef IntBuffer type, @ByRef IntBuffer stride, @Cast(value="const unsigned char**") @ByPtrPtr ByteBuffer indexbase, @ByRef IntBuffer indexstride, @ByRef IntBuffer numfaces, @Cast(value="PHY_ScalarType*") @ByRef IntBuffer indicestype)
public void getLockedReadOnlyVertexIndexBase(@Cast(value="const unsigned char**") @ByPtrPtr byte[] vertexbase, @ByRef int[] numverts, @Cast(value="PHY_ScalarType*") @ByRef int[] type, @ByRef int[] stride, @Cast(value="const unsigned char**") @ByPtrPtr byte[] indexbase, @ByRef int[] indexstride, @ByRef int[] numfaces, @Cast(value="PHY_ScalarType*") @ByRef int[] indicestype, int subpart)
public void getLockedReadOnlyVertexIndexBase(@Cast(value="const unsigned char**") @ByPtrPtr byte[] vertexbase, @ByRef int[] numverts, @Cast(value="PHY_ScalarType*") @ByRef int[] type, @ByRef int[] stride, @Cast(value="const unsigned char**") @ByPtrPtr byte[] indexbase, @ByRef int[] indexstride, @ByRef int[] numfaces, @Cast(value="PHY_ScalarType*") @ByRef int[] indicestype)
public void unLockVertexBase(int subpart)
public void unLockReadOnlyVertexBase(int subpart)
public int getNumSubParts()
public void preallocateVertices(int numverts)
public void preallocateIndices(int numindices)
public void setPremadeAabb(@Const @ByRef btVector3 aabbMin, @Const @ByRef btVector3 aabbMax)
public int calculateSerializeBufferSize()
@Cast(value="const char*") public BytePointer serialize(Pointer dataBuffer, btSerializer serializer)
Copyright © 2024. All rights reserved.