Open a logical device with the specified queues.
Atomically load the number of active references.
Atomically increment the reference count.
Atomically decrement the reference count and dispose if it reaches zero. The object is locked using its own mutex when dispose is called.
Get a copy of this RefCounted instance if the refCount >= 1. This increases the refCount by 1. This should only be used to keep weak reference and ensures that the resource is not disposed. The operation is atomic.
Represent a physical device. This interface is meant to describe a graphics device and open a logical device out of it.