Function GlInstance.rcLockShared

Returns whether the refCount >= 1. This increases the refCount by 1. rcLock should be used to keep weak reference and ensures that the resource is not disposed. The operation is atomic.

final override bool rcLockShared() shared;