#include <PxSolverDefs.h>
|
virtual PxU8 * | reserveConstraintData (const PxU32 byteSize)=0 |
| Allocates constraint data. It is the application's responsibility to release this memory after PxSolveConstraints has completed. More...
|
|
virtual PxU8 * | reserveFrictionData (const PxU32 byteSize)=0 |
| Allocates friction data. Friction data can be retained by the application for a given pair and provided as an input to PxSolverContactDesc to improve simulation stability. It is the application's responsibility to release this memory. If this memory is released, the application should ensure it does not pass pointers to this memory to PxSolverContactDesc. More...
|
|
virtual | ~PxConstraintAllocator () |
|
◆ ~PxConstraintAllocator()
virtual PxConstraintAllocator::~PxConstraintAllocator |
( |
| ) |
|
|
inlinevirtual |
◆ reserveConstraintData()
virtual PxU8* PxConstraintAllocator::reserveConstraintData |
( |
const PxU32 |
byteSize | ) |
|
|
pure virtual |
Allocates constraint data. It is the application's responsibility to release this memory after PxSolveConstraints has completed.
- Parameters
-
[in] | byteSize | Allocation size in bytes |
- Returns
- the allocated memory. This address must be 16-byte aligned.
◆ reserveFrictionData()
virtual PxU8* PxConstraintAllocator::reserveFrictionData |
( |
const PxU32 |
byteSize | ) |
|
|
pure virtual |
Allocates friction data. Friction data can be retained by the application for a given pair and provided as an input to PxSolverContactDesc to improve simulation stability. It is the application's responsibility to release this memory. If this memory is released, the application should ensure it does not pass pointers to this memory to PxSolverContactDesc.
- Parameters
-
[in] | byteSize | Allocation size in bytes |
- Returns
- the allocated memory. This address must be 4-byte aligned.
The documentation for this class was generated from the following file: