Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/GHOST_C-api.h
| Show First 20 Lines • Show All 1,179 Lines • ▼ Show 20 Lines | |||||
| * Get vertex data for the OpenXR controller model. | * Get vertex data for the OpenXR controller model. | ||||
| */ | */ | ||||
| int GHOST_XrGetControllerModelData(GHOST_XrContextHandle xr_context, | int GHOST_XrGetControllerModelData(GHOST_XrContextHandle xr_context, | ||||
| const char *subaction_path, | const char *subaction_path, | ||||
| GHOST_XrControllerModelData *r_data); | GHOST_XrControllerModelData *r_data); | ||||
| #endif /* WITH_XR_OPENXR */ | #endif /* WITH_XR_OPENXR */ | ||||
| #ifdef WITH_VULKAN_BACKEND | |||||
| /** | |||||
| * Return vulkan handles for the given context. | |||||
| */ | |||||
| void GHOST_GetVulkanHandles(GHOST_ContextHandle context, | |||||
| void *r_instance, | |||||
| void *r_physical_device, | |||||
| void *r_device, | |||||
| uint32_t *r_graphic_queue_familly); | |||||
| /** | |||||
| * Return vulkan backbuffer resources handles for the given window. | |||||
| */ | |||||
| void GHOST_GetVulkanBackbuffer(GHOST_WindowHandle windowhandle, | |||||
| void *image, | |||||
| void *framebuffer, | |||||
| void *command_buffer, | |||||
| void *render_pass, | |||||
| void *extent, | |||||
| uint32_t *fb_id); | |||||
| #endif | |||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||