Field DefaultBufferCapacityNumerator
BufferCapacity is by default calculated as DefaultBufferCapacityNumerator / sizeof(BufferElementDataType) thus for a 1 byte component, the maximum number of elements possible to be stored in chunk memory before the buffer is allocated separately from chunk data, is DefaultBufferCapacityNumerator elements. For a 2 byte sized component, (DefaultBufferCapacityNumerator / 2) elements can be stored, etc...
Namespace: Unity.Entities
Syntax
public const int DefaultBufferCapacityNumerator = 128
Returns
Type | Description |
---|---|
Int32 |