Method GetUntypedBufferAccessor
GetUntypedBufferAccessor(ref DynamicComponentTypeHandle)
Give unsafe access to the buffers with type chunkBufferTypeHandle
in the chunk.
Declaration
public readonly UnsafeUntypedBufferAccessor GetUntypedBufferAccessor(ref DynamicComponentTypeHandle chunkBufferTypeHandle)
Parameters
Type | Name | Description |
---|---|---|
DynamicComponentTypeHandle | chunkBufferTypeHandle | An object containing type and job safety information. To create this object, call GetBufferTypeHandle<T>(Boolean). Pass the object to a job using a public field you define as part of the job struct. |
Returns
Type | Description |
---|---|
UnsafeUntypedBufferAccessor | An interface to this chunk's component values for the target buffer component type. |