Package gaiasky.vr.openxr
Interface XrRenderer
- All Known Implementing Classes:
RenderModeOpenXR
,StandaloneVRGui
public interface XrRenderer
-
Method Summary
Modifier and TypeMethodDescriptionvoid
renderOpenXRView
(org.lwjgl.openxr.XrCompositionLayerProjectionView layerView, org.lwjgl.openxr.XrSwapchainImageOpenGLKHR swapchainImage, com.badlogic.gdx.graphics.glutils.FrameBuffer frameBuffer, int viewIndex) Executed for each eye every cycle.
-
Method Details
-
renderOpenXRView
void renderOpenXRView(org.lwjgl.openxr.XrCompositionLayerProjectionView layerView, org.lwjgl.openxr.XrSwapchainImageOpenGLKHR swapchainImage, com.badlogic.gdx.graphics.glutils.FrameBuffer frameBuffer, int viewIndex) Executed for each eye every cycle.- Parameters:
layerView
- The layer view.swapchainImage
- The swapchain image.frameBuffer
- The frame buffer to draw to.viewIndex
- The view index.
-