Table of Contents

Class ArrayPoolsSettings

A component that allows setting, via the editor, the settings of the used ArrayPool<T>s

[ExecuteAlways]
[DisallowMultipleComponent]
public class ArrayPoolsSettings : DTVersionedMonoBehaviour
Inheritance
Object
Component
Behaviour
MonoBehaviour
DTVersionedMonoBehaviour
ArrayPoolsSettings

Properties

CGSpotCapacity

The maximal number of elements of type CGSpot allowed to be stored in the arrays' pool waiting to be reused

public long CGSpotCapacity { get; set; }

Property Value

long

FloatCapacity

The maximal number of elements of type Single allowed to be stored in the arrays' pool waiting to be reused

public long FloatCapacity { get; set; }

Property Value

long

IntCapacity

The maximal number of elements of type Int32 allowed to be stored in the arrays' pool waiting to be reused

public long IntCapacity { get; set; }

Property Value

long

LogAllocations

Log in the console each time an array pool allocates a new array in memory

public bool LogAllocations { get; set; }

Property Value

bool

Vector2Capacity

The maximal number of elements of type Vector2 allowed to be stored in the arrays' pool waiting to be reused

public long Vector2Capacity { get; set; }

Property Value

long

Vector3Capacity

The maximal number of elements of type Vector3 allowed to be stored in the arrays' pool waiting to be reused

public long Vector3Capacity { get; set; }

Property Value

long

Vector4Capacity

The maximal number of elements of type Vector4 allowed to be stored in the arrays' pool waiting to be reused

public long Vector4Capacity { get; set; }

Property Value

long