BulletStridingMeshInterface.kl¶
Interfaces¶
BulletStridingMeshInterface (interface)¶
The btStridingMeshInterface is the interface class for high performance generic access to triangle meshes, used in combination with btBvhTriangleMeshShape and some other collision shapes. Using index striding of 3*sizeof(integer) it can use triangle arrays, using index striding of 1*sizeof(integer) it can handle triangle strips. It allows for sharing graphics and collision meshes. Also it provides locking/unlocking of graphics meshes that are in gpu memory. ///brute force method to calculate aabb /// 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 /// 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 /// getNumSubParts returns the number of seperate subparts /// each subpart has a continuous array of vertices and indices ///fills the dataBuffer and returns the struct name (and 0 on failure)
Functions¶
Data | getPointer ? () |
Functions in detail¶
Data BulletStridingMeshInterface.getPointer? ()