36 lines
578 B
C#
36 lines
578 B
C#
namespace Zenject
|
|
{
|
|
public enum PoolExpandMethods
|
|
{
|
|
OneAtATime,
|
|
Double,
|
|
Disabled
|
|
}
|
|
|
|
[NoReflectionBaking]
|
|
public class MemoryPoolBindInfo
|
|
{
|
|
public MemoryPoolBindInfo()
|
|
{
|
|
ExpandMethod = PoolExpandMethods.OneAtATime;
|
|
MaxSize = int.MaxValue;
|
|
}
|
|
|
|
public PoolExpandMethods ExpandMethod
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
public int InitialSize
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
public int MaxSize
|
|
{
|
|
get; set;
|
|
}
|
|
}
|
|
}
|
|
|