VulkanDeviceHandle class final
Owner of one native handle.
A Vulkan instance, device, and queue that the library creates and owns.
See mln_vulkan_device in the
C API reference.
- Implemented types
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
The native handle id.
no setter
- isClosed → bool
-
Whether the binding has accepted a release, dispose, or discard of
this handle.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getContext(
) → VulkanDeviceContextResult - Gets the context to attach render sessions to the device with.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
release(
) → void - Releases a Vulkan device.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
create(
{VulkanDeviceOptions? options}) → VulkanDeviceHandle - Creates a Vulkan instance, device, and graphics queue for render sessions.