Method GetBufferAccessorRW
GetBufferAccessorRW<T>(ref BufferTypeHandle<T>)
Provides read/write access to a chunk's array of component values for a specific buffer component type.
Declaration
public readonly BufferAccessor<T> GetBufferAccessorRW<T>(ref BufferTypeHandle<T> bufferTypeHandle) where T : unmanaged, IBufferElementDataParameters
| Type | Name | Description | 
|---|---|---|
| BufferTypeHandle<T> | bufferTypeHandle | The type handle for the target component type. This handle must have been created with read-write access to  | 
Returns
| Type | Description | 
|---|---|
| BufferAccessor<T> | An interface to this chunk's component values for type  | 
Type Parameters
| Name | Description | 
|---|---|
| T | The target component type, which must inherit IBufferElementData. | 
Exceptions
| Type | Condition | 
|---|---|
| InvalidOperationException | If the provided type handle is read-only. |