Class Gorgon2DBatchStatePoolAllocator
An allocator used to retrieve 2D batch states from a pool.
Implements
Inherited Members
Namespace: Gorgon.Renderers
Assembly: Gorgon.Renderers.Gorgon2D.dll
Syntax
public class Gorgon2DBatchStatePoolAllocator : GorgonRingPool<Gorgon2DBatchState>, IGorgonAllocator<Gorgon2DBatchState>
Constructors
| Edit this page View SourceGorgon2DBatchStatePoolAllocator(int)
Initializes a new instance of the Gorgon2DBatchStatePoolAllocator class.
Declaration
public Gorgon2DBatchStatePoolAllocator(int objectCount = 1024)
Parameters
Type | Name | Description |
---|---|---|
int | objectCount | [Optional] The number of objects to initialize the pool with. |