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
| Name | Type | Description |
|---|---|---|
size | TextureSize | |
image | ulong | |
imageMemory | ulong | |
formatFeatures | uint | |
layout | int | |
queueFamilyIndex | uint |
Properties
| Member | Description |
|---|---|
| Size | |
| Image | VkImage handle. |
| ImageMemory | VkDeviceMemory handle. |
| FormatFeatures | VkFormatFeatureFlags. |
| Layout | VkImageLayout the image is in. |
| QueueFamilyIndex | Queue 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