QueueLock class final

Your lock on a Vulkan queue that you and a render session both submit to.

The session holds the lock only while it submits or presents to the queue. Set both lock and unlock, or neither when you don't submit to the queue yourself.

It can run on a library thread, and it can't call the library.

See mln_queue_lock in the C API reference.

Constructors

QueueLock.native({required NativePointer lock, required NativePointer unlock, NativePointer userData = NativePointer.nullPointer, NativePointer releaseUserData = NativePointer.nullPointer})
Creates a native registration from lock, unlock, userData, and releaseUserData, which native code in the host supplies. The binding copies them unchanged.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited