VulkanCreateInfo

Options to create a Vulkan instance.

Members

Static functions

defaultExts
VulkanCreateInfo defaultExts(string appName, VulkanVersion appVersion)

Build VulkanCreateInfo with default extensions, suitable for 3D graphics on a surface. Debug builds have by default Lunar-G validation layers and debug extensions.

Variables

appName
string appName;
appVersion
VulkanVersion appVersion;

Application name and version.

mandatoryExtensions
const(string)[] mandatoryExtensions;

Mandatory extensions that are needed by the application. Instance creation will fail if one is not present.

mandatoryLayers
const(string)[] mandatoryLayers;

Mandatory layers that are needed by the application. Instance creation will fail if one is not present.

optionalExtensions
const(string)[] optionalExtensions;

Optional extensions that will be enabled if present.

optionalLayers
const(string)[] optionalLayers;

Optional layers that will be enabled if present.

Meta