Graphics Vulkan

Namespace: dmGraphics Language: C++ Type: Defold C++ File: graphics_vulkan.h Source: engine/graphics/src/dmsdk/graphics/graphics_vulkan.h Include: dmsdk/graphics/graphics_vulkan.h

Graphics Vulkan API

API

VkDescriptorPool

Type: TYPEDEF

VkDevice

Type: TYPEDEF

VulkanCreateDescriptorPool

Type: FUNCTION Create Vulkan descriptor pool. No need to deallocate descripto pool manualy because it will be deallocated automatically when context will be destroyed. Only available when using Mac/iOS.

Parameters

Returns

VulkanGetActiveSwapChainTexture

Type: FUNCTION Get the current swap chain texture

Parameters

Returns

VulkanGetCurrentFrameCommandBuffer

Type: FUNCTION Get Vulkan command buffer which used at the current frame. Only available when using Mac/iOS.

Parameters

Returns

VulkanGetDevice

Type: FUNCTION Get Vulkan device handle. Only available when using Mac/iOS.

Parameters

Returns

VulkanGetGraphicsQueue

Type: FUNCTION Get Vulkan graphics queue handle. Only available when using Mac/iOS.

Parameters

Returns

VulkanGetGraphicsQueueFamily

Type: FUNCTION Get Vulkan queue family. Only available when using Mac/iOS.

Parameters

VulkanGetImage

Type: FUNCTION Get the native Vulkan image handle from an engine texture handle. Returns 0 if the texture handle does not resolve to a Vulkan image.

Parameters

Returns

VulkanGetImageView

Type: FUNCTION Get the native Vulkan image view handle from an engine texture handle. Returns 0 if the texture handle does not resolve to a Vulkan image view.

Parameters

Returns

VulkanGetInstance

Type: FUNCTION Get Vulkan instance handle. Only available when using Mac/iOS.

Parameters

Returns

VulkanGetPhysicalDevice

Type: FUNCTION Get Vulkan physical device handle. Only available when using Mac/iOS.

Parameters

Returns

VulkanGetRenderPass

Type: FUNCTION Get Vulkan render pass handle. Only available when using Mac/iOS.

Parameters

Returns

VulkanGraphicsCommandQueueToMetal

Type: FUNCTION Get the native MTLCommandQueue from the Vulkan context. Only available when using Mac/iOS.

Parameters

Returns

VulkanTextureToMetal

Type: FUNCTION Get a native MTLTexture from a Vulkan HTexture. Only available when using Mac/iOS.

Parameters

Returns