Go to the source code of this file.
◆ varjo_FromVkTexture()
◆ varjo_GetDeviceExtensionsVk()
void varjo_GetDeviceExtensionsVk |
( |
struct varjo_Session * |
session, |
|
|
int32_t * |
count, |
|
|
const char ** |
extensionNames |
|
) |
| |
Get Vulkan device extensions required for Varjo Runtime operation.
To allocate memory for the extensionNames
output buffer, you should first call this function by passing null extensionNames
and query the count for the extensions.
- Parameters
-
session | Varjo session handle. |
count | Output pointer for the extension count. Cannot be null. |
extensionNames | Output pointer for the extension names. Can be null. |
◆ varjo_GetInstanceExtensionsVk()
void varjo_GetInstanceExtensionsVk |
( |
struct varjo_Session * |
session, |
|
|
int32_t * |
count, |
|
|
const char ** |
extensionNames |
|
) |
| |
Get Vulkan instance extensions required for Varjo Runtime operation.
To allocate memory for the extensionNames
output buffer, you should first call this function by passing null extensionNames
and query the count for the extensions.
- Parameters
-
session | Varjo session handle. |
count | Output pointer for the extension count. Cannot be null. |
extensionNames | Output pointer for the extension names. Can be null. |
◆ varjo_GetPhysicalDeviceVk()
VkPhysicalDevice varjo_GetPhysicalDeviceVk |
( |
struct varjo_Session * |
session, |
|
|
VkInstance |
instance |
|
) |
| |
Get a Vulkan physical device suitable for sharing textures with Varjo compositor.
- Parameters
-
session | Varjo session handle. |
instance | Vulkan instance. |
- Returns
- A valid VkPhysicalDevice handle, or VK_NULL_HANDLE on error.
◆ varjo_ToVkTexture()