gfx.vulkan

Vulkan implementation of GrAAL

Modules

buffer
module gfx.vulkan.buffer

Vulkan buffer module

cmd
module gfx.vulkan.cmd

Vulkan command module

conv
module gfx.vulkan.conv

Conversion module between vulkan and graal types

device
module gfx.vulkan.device

Vulkan device module

error
module gfx.vulkan.error

Module that is meant to give meaningful information about the Vulkan errors

image
module gfx.vulkan.image

Vulkan image module

memory
module gfx.vulkan.memory
Undocumented in source.
pipeline
module gfx.vulkan.pipeline
Undocumented in source.
queue
module gfx.vulkan.queue

Vulkan queue module

renderpass
module gfx.vulkan.renderpass
Undocumented in source.
sync
module gfx.vulkan.sync
Undocumented in source.
wsi
module gfx.vulkan.wsi

Vulkan Window System Integration module

Members

Classes

VulkanInstObj
class VulkanInstObj(VkType)
Undocumented in source.
VulkanInstance
class VulkanInstance
Undocumented in source.
VulkanObj
class VulkanObj(VkType)
Undocumented in source.
VulkanPhysicalDevice
class VulkanPhysicalDevice
Undocumented in source.

Functions

createVulkanInstance
VulkanInstance createVulkanInstance(VulkanCreateInfo createInfo)

Creates an Instance object with Vulkan backend with options

devTypeToGfx
DeviceType devTypeToGfx(VkPhysicalDeviceType vkType)
Undocumented in source. Be warned that the author may not have intended to support it.
gfxd_vk_DebugReportCallback
VkBool32 gfxd_vk_DebugReportCallback(VkDebugReportFlagsEXT flags, VkDebugReportObjectTypeEXT , ulong , size_t , int , const(char)* pLayerPrefix, const(char)* pMessage, void* pUserData)
Undocumented in source. Be warned that the author may not have intended to support it.
glfwGetPhysicalDevicePresentationSupport
int glfwGetPhysicalDevicePresentationSupport(VkInstance , VkPhysicalDevice , uint )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
loadDeviceExtensions
VulkanExtensionProperties[] loadDeviceExtensions(VulkanPhysicalDevice pd, string layerName)
Undocumented in source. Be warned that the author may not have intended to support it.
loadDeviceLayers
VulkanLayerProperties[] loadDeviceLayers(VulkanPhysicalDevice pd)
Undocumented in source. Be warned that the author may not have intended to support it.
loadInstanceExtensions
VulkanExtensionProperties[] loadInstanceExtensions(string layerName)
Undocumented in source. Be warned that the author may not have intended to support it.
loadInstanceLayers
VulkanLayerProperties[] loadInstanceLayers()
Undocumented in source. Be warned that the author may not have intended to support it.
overrideDeviceOpenVulkanExtensions
void overrideDeviceOpenVulkanExtensions(PhysicalDevice device, string[] extensions)
Undocumented in source. Be warned that the author may not have intended to support it.
overrideDeviceOpenVulkanLayers
void overrideDeviceOpenVulkanLayers(PhysicalDevice device, string[] layers)
Undocumented in source. Be warned that the author may not have intended to support it.
vulkanDeviceExtensions
VulkanExtensionProperties[] vulkanDeviceExtensions(PhysicalDevice device, string layerName)

Retrieve available instance level extensions properties

vulkanInit
void vulkanInit()

Load global level vulkan functions, and instance level layers and extensions This function must be called before any other in this module

Manifest constants

gfxVkLogMask
enum gfxVkLogMask;
Undocumented in source.

Properties

vulkanApiProps
ApiProps vulkanApiProps [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
vulkanDeviceLayers
VulkanLayerProperties[] vulkanDeviceLayers [@property getter]

Retrieve available device level layers

vulkanInstanceExtensions
VulkanExtensionProperties[] vulkanInstanceExtensions [@property getter]

Retrieve available instance level extensions properties

vulkanInstanceLayers
VulkanLayerProperties[] vulkanInstanceLayers [@property getter]

Retrieve available instance level layer properties

Static variables

_globCmds
VkGlobalCmds _globCmds;
Undocumented in source.
_instanceExtensions
VulkanExtensionProperties[] _instanceExtensions;
Undocumented in source.
_instanceLayers
VulkanLayerProperties[] _instanceLayers;
Undocumented in source.

Structs

VulkanCreateInfo
struct VulkanCreateInfo

Options to create a Vulkan instance.

VulkanExtensionProperties
struct VulkanExtensionProperties
Undocumented in source.
VulkanLayerProperties
struct VulkanLayerProperties
Undocumented in source.
VulkanVersion
struct VulkanVersion
Undocumented in source.

Variables

debugReportInstanceExtensions
auto debugReportInstanceExtensions;
Undocumented in source.
gfxVkLog
auto gfxVkLog;
Undocumented in source.
lunarGValidationLayers
auto lunarGValidationLayers;
Undocumented in source.

Meta