Module hkRefPtr

Source
Expand description

§hkRefPtr

This module defines the hkRefPtr smart pointer, which is a reference-counted pointer used in the Havok engine. It mimics C++ hkRefPtr behavior with reference counting and smart pointer functionality.

Structs§

hkRefPtr
A smart pointer with reference counting, modeled after Havok’s hkRefPtr.

Traits§

hkRefPtrCounted

Functions§

make_hkref
Creates a new hkRefPtr with a constructed instance of T.