Class BackendInfoVulkan
- Namespace
- NeoVeldrid
- Assembly
- NeoVeldrid.dll
Exposes Vulkan-specific functionality, useful for interoperating with native components which interface directly with Vulkan. Can only be used on Vulkan.
public class BackendInfoVulkan
- Inheritance
-
BackendInfoVulkan
- Inherited Members
Properties
AvailableDeviceExtensions
public ReadOnlyCollection<BackendInfoVulkan.ExtensionProperties> AvailableDeviceExtensions { get; }
Property Value
AvailableInstanceExtensions
public ReadOnlyCollection<string> AvailableInstanceExtensions { get; }
Property Value
AvailableInstanceLayers
public ReadOnlyCollection<string> AvailableInstanceLayers { get; }
Property Value
Device
Gets the underlying VkDevice used by the GraphicsDevice.
public nint Device { get; }
Property Value
DriverInfo
Gets the driver information of the device. May be null.
public string DriverInfo { get; }
Property Value
DriverName
Gets the driver name of the device. May be null.
public string DriverName { get; }
Property Value
GraphicsQueue
Gets the VkQueue which is used by the GraphicsDevice to submit graphics work.
public nint GraphicsQueue { get; }
Property Value
GraphicsQueueFamilyIndex
Gets the queue family index of the graphics VkQueue.
public uint GraphicsQueueFamilyIndex { get; }
Property Value
Instance
Gets the underlying VkInstance used by the GraphicsDevice.
public nint Instance { get; }
Property Value
PhysicalDevice
Gets the underlying VkPhysicalDevice used by the GraphicsDevice.
public nint PhysicalDevice { get; }
Property Value
Methods
GetVkImage(Texture)
Gets the underlying VkImage wrapped by the given NeoVeldrid Texture. This method can not be used on Textures with TextureUsage.Staging.
public ulong GetVkImage(Texture texture)
Parameters
textureTextureThe Texture whose underlying VkImage will be returned.
Returns
- ulong
The underlying VkImage for the given Texture.
OverrideImageLayout(Texture, uint)
Overrides the current VkImageLayout tracked by the given Texture. This should be used when a VkImage is created by an external library to inform NeoVeldrid about its initial layout.
public void OverrideImageLayout(Texture texture, uint layout)
Parameters
textureTextureThe Texture whose currently-tracked VkImageLayout will be overridden.
layoutuintThe new VkImageLayout value.
TransitionImageLayout(Texture, uint)
Transitions the given Texture's underlying VkImage into a new layout.
public void TransitionImageLayout(Texture texture, uint layout)