Method Reset
Reset()
Resets the pool to its initial state reusing the first buffer. Calling NextBuffer() is not needed after reset.
Declaration
public void Reset()
Reset(Boolean, Boolean)
Expert: Resets the pool to its initial state reusing the first buffer.
Declaration
public void Reset(bool zeroFillBuffers, bool reuseFirst)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | zeroFillBuffers | If |
System.Boolean | reuseFirst | If |