2022-07-24 11:25:17 +00:00
|
|
|
#pragma once
|
2022-07-07 17:30:06 +00:00
|
|
|
|
2022-10-18 08:35:42 +00:00
|
|
|
#include "VRBase.h"
|
2022-07-07 17:30:06 +00:00
|
|
|
|
|
|
|
void ovrApp_Clear(ovrApp* app);
|
|
|
|
void ovrApp_Destroy(ovrApp* app);
|
2022-07-08 12:44:20 +00:00
|
|
|
int ovrApp_HandleXrEvents(ovrApp* app);
|
2022-07-07 17:30:06 +00:00
|
|
|
|
|
|
|
void ovrFramebuffer_Acquire(ovrFramebuffer* frameBuffer);
|
|
|
|
void ovrFramebuffer_Release(ovrFramebuffer* frameBuffer);
|
2022-10-12 14:21:54 +00:00
|
|
|
void* ovrFramebuffer_SetCurrent(ovrFramebuffer* frameBuffer);
|
2022-07-07 17:30:06 +00:00
|
|
|
|
2024-06-24 15:00:56 +00:00
|
|
|
void ovrRenderer_Create(XrSession session, ovrRenderer* renderer, int width, int height, void* vulkanContext);
|
2022-07-07 17:30:06 +00:00
|
|
|
void ovrRenderer_Destroy(ovrRenderer* renderer);
|
2022-11-17 17:26:18 +00:00
|
|
|
void ovrRenderer_MouseCursor(ovrRenderer* renderer, int x, int y, int sx, int sy);
|