SafeBitRef
Pointer to a single bit, and a safety handle.
Read time 1 minuteLast updated a day ago
Definition
- Type: Struct
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public readonly struct SafeBitRef
Remarks
Do not store outside of stack
Constructors
Constructor | Description |
|---|---|
| SafeBitRef(System.UInt64*,System.Int32,Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle) | Build a safe pointer to a bit at address ptr + offsetInBits. |
Properties
Property | Description |
|---|---|
| IsValid | Test if this pointer is valid (not null). |
Static Properties
Property | Description |
|---|---|
| Null | An invalid pointer. |