Struct UnsafeUntypedBufferAccessor
Allow untyped access to buffers data in a chunk. The use of untyped accessor is in general not recommended and should be exploited only in very specific use case scenario.
Namespace: Unity.Entities.LowLevel.Unsafe
Syntax
public struct UnsafeUntypedBufferAccessor
Properties
| Name | Description |
|---|---|
| ElementSize | |
| Length | The number of buffers in the chunk. |
Methods
| Name | Description |
|---|---|
| GetBufferCapacity(Int32) | Return the current capacity of the buffer at the given |
| GetBufferLength(Int32) | Return the current size of the buffer at the given |
| GetUnsafePtr(Int32) | The unsafe pointer to buffer elements at the given |
| GetUnsafePtrAndLength(Int32, out Int32) | The unsafe pointer and length for the buffer at the given |
| GetUnsafeReadOnlyPtr(Int32) | The unsafe pointer to buffer elements at the given |
| GetUnsafeReadOnlyPtrAndLength(Int32, out Int32) | The unsafe pointer and length for the buffer at the given |
| ResizeUninitialized(Int32, Int32) | Increases the buffer capacity and length of the buffer associated to the entity at the given
|