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
LogicalSizeLogicalSizePhysicalWidthuintPhysicalHeightuintTexturesImmutableArray<VulkanBorrowedTexture>
Properties
LogicalSize
public required LogicalSize LogicalSize { get; init; }
Property Value
PhysicalHeight
public required uint PhysicalHeight { get; init; }
Property Value
PhysicalWidth
public required uint PhysicalWidth { get; init; }
Property Value
Textures
public required ImmutableArray<VulkanBorrowedTexture> Textures { get; init; }