Graphics Vulkan API
Namespace: | dmGraphics |
Include: | #include <dmsdk/graphics/graphics_vulkan.h> |
FUNCTIONS | |
---|---|
dmGraphics::HTexture VulkanGetActiveSwapChainTexture(dmGraphics::HContext context) | Get the current swap chain texture |
id |
Get the native MTLCommandQueue from the Vulkan con... |
id |
Get a native MTLTexture from a Vulkan HTexture. On... |
dmGraphics::HTexture VulkanGetActiveSwapChainTexture(dmGraphics::HContext context)
Get the current swap chain texture
PARAMETERS
dmGraphics::HContext |
context |
the vulkan context |
RETURNS
dmGraphics::HTexture |
the swap chain texture for the current frame |
id
Get the native MTLCommandQueue from the Vulkan context. Only available when using Mac/iOS.
PARAMETERS
dmGraphics::HContext |
context |
the vulkan context |
RETURNS
id |
the Metal graphics queue wrapped with a (__bridge void*) |
id
Get a native MTLTexture from a Vulkan HTexture. Only available when using Mac/iOS.
PARAMETERS
dmGraphics::HContext |
context |
the vulkan context |
dmGraphics::HTexture |
texture |
the texture |
RETURNS
id |
the Metal texture wrapped with a (__bridge void*) |