Skip to main content
Version: 0.9.0

VideoTextureVulkan struct

One sender-owned Vulkan image and the state it is in.

Namespace: Quaternar.Qaros · Assembly: Quaternar.Qaros.dll · Source: QarTypes.cs

public readonly struct VideoTextureVulkan

Constructors​

VideoTextureVulkan(TextureSize, ulong, ulong, uint, int, uint)​

public VideoTextureVulkan(TextureSize size, ulong image, ulong imageMemory, uint formatFeatures, int layout, uint queueFamilyIndex)

Parameters

NameTypeDescription
sizeTextureSize
imageulong
imageMemoryulong
formatFeaturesuint
layoutint
queueFamilyIndexuint

Properties​

MemberDescription
Size
ImageVkImage handle.
ImageMemoryVkDeviceMemory handle.
FormatFeaturesVkFormatFeatureFlags.
LayoutVkImageLayout the image is in.
QueueFamilyIndexQueue family that owns the image.

Size​

public TextureSize Size { get; }

Value: TextureSize

Image​

VkImage handle.

public ulong Image { get; }

Value: ulong

ImageMemory​

VkDeviceMemory handle.

public ulong ImageMemory { get; }

Value: ulong

FormatFeatures​

VkFormatFeatureFlags.

public uint FormatFeatures { get; }

Value: uint

Layout​

VkImageLayout the image is in.

public int Layout { get; }

Value: int

QueueFamilyIndex​

Queue family that owns the image.

public uint QueueFamilyIndex { get; }

Value: uint