Class GorgonDrawCallPoolAllocator<T>
An allocator used to retrieve draw calls from a pool.
Implements
Inherited Members
Namespace: Gorgon.Graphics.Core
Assembly: Gorgon.Graphics.Core.dll
Syntax
public class GorgonDrawCallPoolAllocator<T> : GorgonRingPool<T>, IGorgonAllocator<T> where T : GorgonDrawCallCommon
Type Parameters
Name | Description |
---|---|
T | The type of draw call. |
Constructors
| Edit this page View SourceGorgonDrawCallPoolAllocator(int)
Initializes a new instance of the GorgonLinearPool<T> class.
Declaration
public GorgonDrawCallPoolAllocator(int objectCount)
Parameters
Type | Name | Description |
---|---|---|
int | objectCount | The number of total objects available to the allocator. |
Exceptions
Type | Condition |
---|---|
ArgumentOutOfRangeException | Thrown when the |