Table of Contents

Struct VulkanBorrowedTextureReplacement

Namespace
Maplibre.NativeFfi
Assembly
Maplibre.NativeFfi.dll

New Vulkan images for a borrowed ring, for RenderSessionHandle.SetVulkanBorrowedTextureTargetAsync().

public readonly record struct VulkanBorrowedTextureReplacement : IEquatable<VulkanBorrowedTextureReplacement>
Implements
Inherited Members

Remarks

The members and the images follow the rules of VulkanBorrowedTextureDescriptor. The ring keeps its depth, context, format, final_layout, and owner, so give it as many images as it attached with, in that format, on the same device.

See mln_vulkan_borrowed_texture_replacement in the C API reference.

Constructors

VulkanBorrowedTextureReplacement(LogicalSize, uint, uint, ImmutableArray<VulkanBorrowedTexture>)

[SetsRequiredMembers]
public VulkanBorrowedTextureReplacement(LogicalSize LogicalSize, uint PhysicalWidth, uint PhysicalHeight, ImmutableArray<VulkanBorrowedTexture> Textures)

Parameters

LogicalSize LogicalSize
PhysicalWidth uint
PhysicalHeight uint
Textures ImmutableArray<VulkanBorrowedTexture>

Properties

LogicalSize

public required LogicalSize LogicalSize { get; init; }

Property Value

LogicalSize

PhysicalHeight

public required uint PhysicalHeight { get; init; }

Property Value

uint

PhysicalWidth

public required uint PhysicalWidth { get; init; }

Property Value

uint

Textures

public required ImmutableArray<VulkanBorrowedTexture> Textures { get; init; }

Property Value

ImmutableArray<VulkanBorrowedTexture>