Struct VulkanSurfaceReplacement
- Namespace
- Maplibre.NativeFfi
- Assembly
- Maplibre.NativeFfi.dll
A new Vulkan surface for
RenderSessionHandle.SetVulkanSurfaceTargetAsync().
public readonly record struct VulkanSurfaceReplacement : IEquatable<VulkanSurfaceReplacement>
- Implements
- Inherited Members
Remarks
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(LogicalSize, ulong)
[SetsRequiredMembers]
public VulkanSurfaceReplacement(LogicalSize LogicalSize, ulong Surface)
Parameters
LogicalSizeLogicalSizeSurfaceulong
Properties
LogicalSize
public required LogicalSize LogicalSize { get; init; }
Property Value
Surface
Your VkSurfaceKHR.
public required ulong Surface { get; init; }