Skip to main content

VulkanInstanceCreationOptions Class

Definition​

Namespace:Avalonia.Vulkan
Assembly:Avalonia.Vulkan
Package:Avalonia
public class VulkanInstanceCreationOptions

Inheritance: object -> VulkanInstanceCreationOptions

Constructors​

NameDescription
VulkanInstanceCreationOptionsNo summary available.

VulkanInstanceCreationOptions Constructor​

public VulkanInstanceCreationOptions()

Properties​

NameDescription
ApplicationNameSets the application name of the vulkan instance
CustomGetProcAddressDelegateNo summary available.
EnabledLayersSpecifies layers to enable if available on the instance
InstanceExtensionsSpecifies additional extensions to enable if available on the instance
RequireSurfaceExtensionRequires and enables VK_KHR_surface on the created instance. Disable for offscreen-only rendering with drivers that don't expose the extension.
UseDebugEnables the debug layer
VulkanVersionSpecifies the vulkan api version to use

ApplicationName Property​

Sets the application name of the vulkan instance

public string ApplicationName { get; set; }

CustomGetProcAddressDelegate Property​

public Avalonia.Vulkan.VkGetInstanceProcAddressDelegate CustomGetProcAddressDelegate { get; set; }

EnabledLayers Property​

Specifies layers to enable if available on the instance

public System.Collections.Generic.IList<string> EnabledLayers { get; set; }

InstanceExtensions Property​

Specifies additional extensions to enable if available on the instance

public System.Collections.Generic.IList<string> InstanceExtensions { get; set; }

RequireSurfaceExtension Property​

Requires and enables VK_KHR_surface on the created instance. Disable for offscreen-only rendering with drivers that don't expose the extension.

public bool RequireSurfaceExtension { get; set; }

UseDebug Property​

Enables the debug layer

public bool UseDebug { get; set; }

VulkanVersion Property​

Specifies the vulkan api version to use

public Version VulkanVersion { get; set; }