VulkanSurfaceDescriptor class final
A Vulkan surface to present to, for MapHandle.attachVulkanSurface().
The device must have VK_KHR_swapchain enabled, and the queue family of
graphics_queue_family_index must support presenting to the surface. The
session creates the swapchain. It uses the surface until a replacement or
release of the target completes, a detach or release of the session
completes, or an abandon of it returns.
See mln_vulkan_surface_descriptor in the
C API reference.
Constructors
- VulkanSurfaceDescriptor({required LogicalSize logicalSize, required VulkanContextDescriptor context, required int surface})
-
const
Properties
- context → VulkanContextDescriptor
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- logicalSize → LogicalSize
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- surface → int
-
Your VkSurfaceKHR.
final
Methods
-
copyWith(
{LogicalSize? logicalSize, VulkanContextDescriptor? context, int? surface}) → VulkanSurfaceDescriptor - A copy of this value with the given members replaced.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited