Struct BufferAccessor<T>
Namespace: Unity.Entities
Syntax
public struct BufferAccessor<T>
    where T : struct, IBufferElementDataType Parameters
| Name | Description | 
|---|---|
| T | 
Constructors
BufferAccessor(Byte*, Int32, Int32, Int32)
Declaration
public BufferAccessor(byte *basePointer, int length, int stride, int internalCapacity)Parameters
| Type | Name | Description | 
|---|---|---|
| Byte* | basePointer | |
| Int32 | length | |
| Int32 | stride | |
| Int32 | internalCapacity | 
Properties
Item[Int32]
Declaration
public DynamicBuffer<T> this[int index] { get; }Parameters
| Type | Name | Description | 
|---|---|---|
| Int32 | index | 
Property Value
| Type | Description | 
|---|---|
| DynamicBuffer<T> | 
Exceptions
| Type | Condition | 
|---|---|
| InvalidOperationException | 
Length
Declaration
public int Length { get; }Property Value
| Type | Description | 
|---|---|
| Int32 |