panda3d.core.CopyOnWriteObject

from panda3d.core import CopyOnWriteObject
class CopyOnWriteObject

Bases: CachedTypedWritableReferenceCount

This base class provides basic reference counting, but also can be used with a CopyOnWritePointer to provide get_read_pointer() and get_write_pointer().

Inheritance diagram

Inheritance diagram of CopyOnWriteObject

cacheRef() → None

See CachedTypedWritableReferenceCount.cacheRef().

cacheUnref() → bool

See CachedTypedWritableReferenceCount.cacheUnref().

static getClassType() → TypeHandle
Return type

TypeHandle