Table of Contents

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

Width uint
Height uint
ScaleFactor double
Slot uint

The image's index in the descriptor's textures.

Image ulong

The VkImage.

ImageView ulong

The VkImageView.

Device NativePointer

The image's VkDevice.

Format uint

The image's VkFormat.

Layout uint

The 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

NativePointer

Format

The image's VkFormat.

public uint Format { get; init; }

Property Value

uint

Height

public uint Height { get; init; }

Property Value

uint

Image

The VkImage.

public ulong Image { get; init; }

Property Value

ulong

ImageView

The VkImageView.

public ulong ImageView { get; init; }

Property Value

ulong

Layout

The VkImageLayout that the frame left the image in.

public uint Layout { get; init; }

Property Value

uint

ScaleFactor

public double ScaleFactor { get; init; }

Property Value

double

Slot

The image's index in the descriptor's textures.

public uint Slot { get; init; }

Property Value

uint

Width

public uint Width { get; init; }

Property Value

uint