Method CreateSnapshotBufferLookup
CreateSnapshotBufferLookup()
Create a new SnapshotDataBufferComponentLookup instance that can be used on the main thread or in job. This method introduce a sync point, because internally retrieve all the necessary DynamicBuffer<T>.
Declaration
public SnapshotDataBufferComponentLookup CreateSnapshotBufferLookup()
Returns
Type | Description |
---|---|
SnapshotDataBufferComponentLookup | A valid SnapshotDataBufferComponentLookup instance |
Remarks
The method requires that the Update(ref SystemState) method has been called and that all the internal handles has been updated.