| Parameter | Description |
|---|---|
| typeIndex | TypeIndex to use |
| category | TypeCategory the component belongs to |
| entityOffsetCount | How many entity references a component contains (recursively) |
| entityOffsetStartIndex | Index into the entity offset array where this component's entity offset data begins |
| memoryOrdering | The memory order for this component |
| stableTypeHash | The stable type hash for this component |
| bufferCapacity | Number of elements that can be stored in chunk memory before falling back to a native allocation |
| sizeInChunk | Number of bytes the component requires in a chunk |
| elementSize | Size of the component. For Buffer components, this is the size of the element type |
| alignmentInBytes | Alignment of the component |
| maximumChunkCapacity | Max number of instances of this component to allow in a single chunk |
| hasBlobRefs | Value for if this component has any blob references (in case we force this value true/false) |
| blobAssetRefOffsetCount | Number of blob asset references the component really contains |
| blobAssetRefOffsetStartIndex | Index into the blob asset reference array where this component's blob asset reference data begins |
| weakAssetRefOffsetCount | Number of weak asset references this component contains |
| weakAssetRefOffsetStartIndex | Index into the weak asset reference array where this component's weak asset reference data begins |
| hasUnityObjectRefs | Value for if this component has any Unity Object references (in case we force this value true/false) |
| unityObjectRefOffsetCount | Number of Unity Object references the component really contains |
| unityObjectRefOffsetStartIndex | Index into the Unity Object reference array where this component's Unity Object reference data begins |
| typeSize | Size of the component type |
| bloomFilterMask | The bloom filter mask for this component, used to accelerate "is type T in set of types S" checks. The default value of zero is safe, but ineffective. |
Used internally to construct a TypeInfo.
| Parameter | Description |
|---|---|
| typeIndex | TypeIndex to use |
| category | TypeCategory the component belongs to |
| entityOffsetCount | How many entity references a component contains (recursively) |
| entityOffsetStartIndex | Index into the entity offset array where this component's entity offset data begins |
| memoryOrdering | The memory order for this component |
| stableTypeHash | The stable type hash for this component |
| bufferCapacity | Number of elements that can be stored in chunk memory before falling back to a native allocation |
| sizeInChunk | Number of bytes the component requires in a chunk |
| elementSize | Size of the component. For Buffer components, this is the size of the element type |
| alignmentInBytes | Alignment of the component |
| maximumChunkCapacity | Max number of instances of this component to allow in a single chunk |
| writeGroupCount | Ignored. |
| writeGroupStartIndex | Ignored. |
| hasBlobRefs | Value for if this component has any blob references (in case we force this value true/false) |
| blobAssetRefOffsetCount | Number of blob asset references the component really contains |
| blobAssetRefOffsetStartIndex | Index into the blob asset reference array where this component's blob asset reference data begins |
| weakAssetRefOffsetCount | Number of weak asset references this component contains |
| weakAssetRefOffsetStartIndex | Index into the weak asset reference array where this component's weak asset reference data begins |
| hasUnityObjectRefs | Value for if this component has any Unity Object references (in case we force this value true/false) |
| unityObjectRefOffsetCount | Number of Unity Object references the component really contains |
| unityObjectRefOffsetStartIndex | Index into the Unity Object reference array where this component's Unity Object reference data begins |
| typeSize | Size of the component type |
| bloomFilterMask | The bloom filter mask for this component, used to accelerate "is type T in set of types S" checks. The default value of zero is safe, but ineffective. |
Obsolete. Used internally to construct a TypeInfo. Write group information is no longer stored in
TypeInfo; the writeGroupCount and writeGroupStartIndex arguments are ignored.