VulkanInstance

Undocumented in source.

Constructors

this
this(VkInstance vkObj, string[] layers, string[] extensions)
Undocumented in source.

Members

Functions

devices
PhysicalDevice[] devices()
Undocumented in source. Be warned that the author may not have intended to support it.
dispose
void dispose()
Undocumented in source. Be warned that the author may not have intended to support it.
setDebugCallback
void setDebugCallback(DebugCallback callback)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

apiProps
ApiProps apiProps [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
backend
Backend backend [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
vk
VkInstanceCmds vk [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

extensions
const(string[]) extensions;

The extensions enabled with this instance

layers
const(string[]) layers;

The layers enabled with this instance

Inherited Members

From Instance

backend
Backend backend [@property getter]

Backend identifier

apiProps
ApiProps apiProps [@property getter]

Properties of the backend API

devices
PhysicalDevice[] devices()

The devices that are installed on the system.

setDebugCallback
void setDebugCallback(DebugCallback callback)

Sets the debug callback for the instance and associated devices. Must be set before creating devices. Depending on backend, it might only be effective if the instance was created with the right extensions.

Meta