C# Class BulletCSharp.btPoolAllocator

Inheritance: IDisposable
Exibir arquivo Open project: sanglin307/BulletUnity3D Class Usage Examples

Protected Properties

Property Type Description
swigCMemOwn bool

Public Methods

Method Description
Dispose ( ) : void
allocate ( int size ) : SWIGTYPE_p_void
btPoolAllocator ( int elemSize, int maxElements ) : System
freeMemory ( SWIGTYPE_p_void ptr ) : void
getElementSize ( ) : int
getFreeCount ( ) : int
getMaxCount ( ) : int
getPoolAddress ( ) : SWIGTYPE_p_unsigned_char
getUsedCount ( ) : int
validPtr ( SWIGTYPE_p_void ptr ) : bool

Private Methods

Method Description
btPoolAllocator ( IntPtr cPtr, bool cMemoryOwn ) : System
getCPtr ( btPoolAllocator obj ) : HandleRef

Method Details

Dispose() public method

public Dispose ( ) : void
return void

allocate() public method

public allocate ( int size ) : SWIGTYPE_p_void
size int
return SWIGTYPE_p_void

btPoolAllocator() public method

public btPoolAllocator ( int elemSize, int maxElements ) : System
elemSize int
maxElements int
return System

freeMemory() public method

public freeMemory ( SWIGTYPE_p_void ptr ) : void
ptr SWIGTYPE_p_void
return void

getElementSize() public method

public getElementSize ( ) : int
return int

getFreeCount() public method

public getFreeCount ( ) : int
return int

getMaxCount() public method

public getMaxCount ( ) : int
return int

getPoolAddress() public method

public getPoolAddress ( ) : SWIGTYPE_p_unsigned_char
return SWIGTYPE_p_unsigned_char

getUsedCount() public method

public getUsedCount ( ) : int
return int

validPtr() public method

public validPtr ( SWIGTYPE_p_void ptr ) : bool
ptr SWIGTYPE_p_void
return bool

Property Details

swigCMemOwn protected_oe property

protected bool swigCMemOwn
return bool