Struct BufferAccessor<T>
Interface to a chunk's array of component values for a buffer component type
Namespace: Unity.Entities
Assembly: solution.dll
Syntax
[NativeContainer]
public struct BufferAccessor<T> where T : unmanaged, IBufferElementData
Type Parameters
Name | Description |
---|---|
T | Buffer component type. |
Properties
Name | Description |
---|---|
this[int] | Look up the DynamicBuffer<T> value at a specific array index within the chunk. |
Length | The number of buffer elements |
Methods
Name | Description |
---|---|
ToFixedString() | Returns the formatted FixedString "BufferAccessor[type_name_here]". |