Struct SafeBitRef
Pointer to a single bit, and a safety handle.
Namespace: Unity.Entities
Assembly: Unity.Entities.dll
Syntax
public readonly struct SafeBitRef
Remarks
Do not store outside of stack
Constructors
Name | Description |
---|---|
Safe |
Build a safe pointer to a bit at address ptr + offsetInBits. |
Properties
Methods
Name | Description |
---|---|
Get |
Get the bool value of the bit pointed at. |
Offset(int) | Create a new pointer at a bit offset from this bit pointer |
Set |
Set the bool value of the bit pointed at |