struct Entitas::SafeAERC
- Entitas::SafeAERC
- Entitas::AERC
- Struct
- Value
- Object
Overview
Automatic Entity Reference Counting (AERC) is used internally to prevent pooling retained entities. If you use retain manually you also have to release it manually at some point. SafeAERC checks if the entity has already been retained or released. It's slower, but you keep the information about the owners.
Defined in:
entitas/aerc.crConstructors
Instance Method Summary
- #includes?(id : UInt64)
- #includes?(owner)
- #owners : Array(UInt64)
- #release(owner)
- #retain(owner)
- #retain_count : Int32