Method | Description | |
---|---|---|
Clear ( ) : void |
Drops all buffer references. Does not affect outstanding references. Not thread safe.
|
|
GetBufferCount ( int poolIndex ) : int |
Gets the number of buffers for a pool index. Not thread safe.
|
|
GetPoolIndex ( int count ) : int |
Gets the exponent associated with the buffer pool which would hold the given count of elements.
|
public abstract GetBufferCount ( int poolIndex ) : int | ||
poolIndex | int | Index of the pool to count. |
return | int |
public static GetPoolIndex ( int count ) : int | ||
count | int | Element count to compute the batch index of. |
return | int |