VulkanSurfaceReplacement class final

A new Vulkan surface for RenderSessionHandle.setVulkanSurfaceTarget().

The session presents to it with the context that it attached with, so the queue family of that context's graphics_queue_family_index must support presenting to the surface. 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_replacement in the C API reference.

Constructors

VulkanSurfaceReplacement({required LogicalSize logicalSize, required int surface})
const

Properties

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, int? surface}) → VulkanSurfaceReplacement
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