Blender  V3.3
Classes | Public Member Functions | List of all members
PreallocatedMemoryHelper< N > Class Template Reference

Public Member Functions

 PreallocatedMemoryHelper ()
 
void addChunk (void **ptr, size_t sz)
 
size_t getSizeToAllocate () const
 
void setChunkPointers (void *mem) const
 

Detailed Description

template<int N>
class PreallocatedMemoryHelper< N >

Definition at line 608 of file btBatchedConstraints.cpp.

Constructor & Destructor Documentation

◆ PreallocatedMemoryHelper()

template<int N>
PreallocatedMemoryHelper< N >::PreallocatedMemoryHelper ( )
inline

Definition at line 619 of file btBatchedConstraints.cpp.

Member Function Documentation

◆ addChunk()

template<int N>
void PreallocatedMemoryHelper< N >::addChunk ( void **  ptr,
size_t  sz 
)
inline

Definition at line 620 of file btBatchedConstraints.cpp.

References btAssert, N, and ptr.

Referenced by setupSpatialGridBatchesMt().

◆ getSizeToAllocate()

template<int N>
size_t PreallocatedMemoryHelper< N >::getSizeToAllocate ( ) const
inline

Definition at line 631 of file btBatchedConstraints.cpp.

Referenced by setupSpatialGridBatchesMt().

◆ setChunkPointers()

template<int N>
void PreallocatedMemoryHelper< N >::setChunkPointers ( void mem) const
inline

Definition at line 640 of file btBatchedConstraints.cpp.

Referenced by setupSpatialGridBatchesMt().


The documentation for this class was generated from the following file: