文档

Unity Engine

Download Unity

Unity Engine

SafeBitRef(ulong*, int, AtomicSafetyHandle)

Build a safe pointer to a bit at address ptr + offsetInBits.
阅读时间1 分钟最后更新于 20 天前

Definition

  • Type: Constructor
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public SafeBitRef(ulong* ptr, int offsetInBits, AtomicSafetyHandle safety)

Parameters

Base memory address to the bit. In bytes.

offsetInBits

Offset in bits from the base memory address. in bits

Safety handle for that memory space