Struct VulkanTextureFrame
- Namespace
- Maplibre.NativeFfi
- Assembly
- Maplibre.NativeFfi.dll
The Vulkan image of an acquired frame.
public readonly record struct VulkanTextureFrame : IEquatable<VulkanTextureFrame>
- Implements
- Inherited Members
Remarks
See mln_vulkan_texture_frame in the C API reference.
Constructors
VulkanTextureFrame(uint, uint, double, uint, ulong, ulong, NativePointer, uint, uint)
The Vulkan image of an acquired frame.
public VulkanTextureFrame(uint Width, uint Height, double ScaleFactor, uint Slot, ulong Image, ulong ImageView, NativePointer Device, uint Format, uint Layout)
Parameters
WidthuintHeightuintScaleFactordoubleSlotuintThe image's index in the descriptor's
textures.ImageulongThe VkImage.
ImageViewulongThe VkImageView.
DeviceNativePointerThe image's VkDevice.
FormatuintThe image's VkFormat.
LayoutuintThe VkImageLayout that the frame left the image in.
Remarks
See mln_vulkan_texture_frame in the C API reference.
Properties
Device
The image's VkDevice.
public NativePointer Device { get; init; }
Property Value
Format
The image's VkFormat.
public uint Format { get; init; }
Property Value
Height
public uint Height { get; init; }
Property Value
Image
The VkImage.
public ulong Image { get; init; }
Property Value
ImageView
The VkImageView.
public ulong ImageView { get; init; }
Property Value
Layout
The VkImageLayout that the frame left the image in.
public uint Layout { get; init; }
Property Value
ScaleFactor
public double ScaleFactor { get; init; }
Property Value
Slot
The image's index in the descriptor's textures.
public uint Slot { get; init; }
Property Value
Width
public uint Width { get; init; }