| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | nVRCompositor_GetCompositorBenchmarkResults(long pBenchmarkResults, int
should be set to nSizeOfBenchmarkResults)sizeof(Compositor_BenchmarkResults)Unsafe version of: |
| public static void | nVRCompositor_GetCumulativeStats(long pStats, int nStatsSizeInBytes)
Unsafe version of: |
| public static native void | nVRCompositor_GetCurrentFadeColor(boolean bBackground, long __functionAddress, long __result)
Unsafe version of: |
| public static void | nVRCompositor_GetCurrentFadeColor(boolean bBackground, long __result)
Unsafe version of: |
| public static boolean | |
| public static int | |
| public static int | nVRCompositor_GetLastPoseForTrackedDeviceIndex(int unDeviceIndex, long pOutputPose, long pOutputGamePose)
Unsafe version of: |
| public static int | nVRCompositor_GetLastPosePredictionIDs(long pRenderPosePredictionID, long pGamePosePredictionID)
Unsafe version of: |
| public static int | nVRCompositor_GetLastPoses(long pRenderPoseArray, int unRenderPoseArrayCount, long pGamePoseArray, int unGamePoseArrayCount)
Unsafe version of: |
| public static int | nVRCompositor_GetMirrorTextureD3D11(int eEye, long pD3D11DeviceOrResource, long ppD3D11ShaderResourceView)
Unsafe version of: |
| public static int | nVRCompositor_GetMirrorTextureGL(int eEye, long pglTextureId, long pglSharedTextureHandle)
Unsafe version of: |
| public static int | nVRCompositor_GetPosesForFrame(int unPosePredictionID, long pPoseArray, int unPoseArrayCount)
Unsafe version of: |
| public static int | nVRCompositor_GetVulkanDeviceExtensionsRequired(long pPhysicalDevice, long pchValue, int unBufferSize)
Unsafe version of: |
| public static int | nVRCompositor_GetVulkanInstanceExtensionsRequired(long pchValue, int unBufferSize)
Unsafe version of: |
| public static int | nVRCompositor_SetSkyboxOverride(long pTextures, int unTextureCount)
Unsafe version of: |
| public static int | nVRCompositor_SetStageOverride_Async(long pchRenderModelPath, long pTransform, long pRenderSettings, int nSizeOfRenderSettings)
Unsafe version of: |
| public static int | nVRCompositor_Submit(int eEye, long pTexture, long pBounds, int nSubmitFlags)
Unsafe version of: |
| public static int | nVRCompositor_WaitGetPoses(long pRenderPoseArray, int unRenderPoseArrayCount, long pGamePoseArray, int unGamePoseArrayCount)
Unsafe version of: |
| public static boolean | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | VRCompositor_CompositorDumpImages()
Writes back buffer and stereo left/right pair from the application to a 'screenshots' folder in the SteamVR runtime root. |
| public static void | |
| public static void | |
| public static void | |
| public static void | VRCompositor_FadeToColor(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, boolean bBackground)
Fades the view on the HMD to the specified color. |
| public static void | VRCompositor_ForceInterleavedReprojectionOn(boolean bOverride)
Override interleaved reprojection logic to force on. |
| public static void | |
| public static boolean | VRCompositor_GetCompositorBenchmarkResults(Compositor_BenchmarkResults.
Returns true if |
| public static void | VRCompositor_GetCumulativeStats(CompositorCumulativeStats pStats, int
must be nStatsSizeInBytes)sizeof( Compositor_CumulativeStats )Fills out stats accumulated for the last connected application. |
| public static void | VRCompositor_GetCumulativeStats(CompositorCumulativeStats pStats)
Fills out stats accumulated for the last connected application. |
| public static HmdColor | VRCompositor_GetCurrentFadeColor(boolean bBackground, HmdColor __result)
Get current fade color value. |
| public static float | |
| public static int | VRCompositor_GetCurrentSceneFocusProcess()
Returns the process ID of the process that is currently rendering the scene. |
| public static float | VRCompositor_GetFrameTimeRemaining()
Returns the time in seconds left in the current (as identified by FrameTiming's frameIndex) frame. |
| public static boolean | VRCompositor_GetFrameTiming(CompositorFrameTiming.
Returns true if timing data is filled it. |
| public static int | VRCompositor_GetFrameTimings(CompositorFrameTiming.
Interface for copying a range of timing data. |
| public static int | Returns: 0 when fading out from an app and the app's process Id when fading into an appReturns the process ID of the process that rendered the last frame (or 0 if the compositor itself rendered the frame). |
| public static int | Returns: VR#EVRCompositorError_VRCompositorError_IndexOutOfRange if unDeviceIndex not less than VR#k_unMaxTrackedDeviceCount otherwise
VR#EVRCompositorError_VRCompositorError_NoneInterface for accessing last set of poses returned by |
| public static int | VRCompositor_GetLastPosePredictionIDs(IntBuffer pRenderPosePredictionID, IntBuffer pGamePosePredictionID)
Returns the frame id associated with the poses last returned by |
| public static int | VRCompositor_GetLastPoses(TrackedDevicePose.
Get the last set of poses returned by |
| public static int | VRCompositor_GetMirrorTextureD3D11(int eEye, long pD3D11DeviceOrResource, PointerBuffer ppD3D11ShaderResourceView)
Opens a shared D3D11 texture with the undistorted composited image for each eye. |
| public static int | VRCompositor_GetMirrorTextureGL(int eEye, IntBuffer pglTextureId, PointerBuffer pglSharedTextureHandle)
Access to mirror textures from OpenGL. |
| public static int | VRCompositor_GetPosesForFrame(int unPosePredictionID, TrackedDevicePose.
Get the most up-to-date predicted (or recorded - up to 100ms old) set of poses for a given frame id. |
| public static int | |
| public static int | |
| public static String | |
| public static int | |
| public static String | |
| public static void | VRCompositor_HideMirrorWindow()
DEPRECATED: Closes the headset view, either as a window or docked widget. |
| public static boolean | VRCompositor_IsCurrentSceneFocusAppLoading()
Indicates whether or not the current scene focus app is currently loading. |
| public static boolean | |
| public static boolean | VRCompositor_IsMirrorWindowVisible()
DEPRECATED: Returns true if the headset view (either as a window or docked widget) is shown. |
| public static boolean | VRCompositor_IsMotionSmoothingEnabled()
Indicates whether or not motion smoothing is enabled by the user settings. |
| public static boolean | VRCompositor_IsMotionSmoothingSupported()
Indicates whether or not motion smoothing is supported by the current hardware. |
| public static void | |
| public static void | VRCompositor_PostPresentHandoff()
Call immediately after presenting your app's window (i.e. companion window) to unblock the compositor. |
| public static void | VRCompositor_ReleaseMirrorTextureD3D11(long pD3D11ShaderResourceView)
Releases a shared D3D11 texture. |
| public static boolean | |
| public static void | VRCompositor_SetExplicitTimingMode(int eTimingMode)
Vulkan/D3D12 Only There are two purposes for
|
| public static int | VRCompositor_SetSkyboxOverride(Texture.
Override the skybox used in the compositor (e.g. for during level loads when the app can't feed scene images fast enough) Order is Front, Back, Left, Right, Top, Bottom. |
| public static int | VRCompositor_SetStageOverride_Async(ByteBuffer pchRenderModelPath, HmdMatrix34 pTransform, CompositorStageRenderSettings pRenderSettings, int nSizeOfRenderSettings)
Override the stage model used in the compositor to replace the grid. |
| public static int | VRCompositor_SetStageOverride_Async(ByteBuffer pchRenderModelPath, HmdMatrix34 pTransform, CompositorStageRenderSettings pRenderSettings)
Override the stage model used in the compositor to replace the grid. |
| public static int | VRCompositor_SetStageOverride_Async(CharSequence pchRenderModelPath, HmdMatrix34 pTransform, CompositorStageRenderSettings pRenderSettings)
Override the stage model used in the compositor to replace the grid. |
| public static void | |
| public static boolean | VRCompositor_ShouldAppRenderWithLowResources()
Let an app know it should be rendering with low resources. |
| public static void | VRCompositor_ShowMirrorWindow()
DEPRECATED: Opens the headset view (as either a window or docked widget depending on user's preferences) that displays what the user sees in the headset. |
| public static int | Returns: return codes:
one of: nSubmitFlags)Updated scene texture to display. |
| public static int | Returns: VR#EVRCompositorError_VRCompositorError_RequestFailed if SetExplicitTimingMode is not enabledVulkan/D3D12 Only Submit explicit timing data. |
| public static void | VRCompositor_SuspendRendering(boolean bSuspend)
Temporarily suspends rendering (useful for finer control over scene transitions). |
| public static void | |
| public static int | VRCompositor_WaitGetPoses(TrackedDevicePose.
Scene applications should call this function to get poses to render with (and optionally poses predicted an additional frame out to use for gameplay). |
| VRCompositor | back to summary |
|---|---|
| protected VRCompositor() | |
| nVRCompositor_GetCompositorBenchmarkResults | back to summary |
|---|---|
| public static boolean nVRCompositor_GetCompositorBenchmarkResults(long pBenchmarkResults, int nSizeOfBenchmarkResults) Unsafe version of:
| |
| nVRCompositor_GetCumulativeStats | back to summary |
|---|---|
| public static void nVRCompositor_GetCumulativeStats(long pStats, int nStatsSizeInBytes) Unsafe version of: | |
| nVRCompositor_GetCurrentFadeColor | back to summary |
|---|---|
| public static native void nVRCompositor_GetCurrentFadeColor(boolean bBackground, long __functionAddress, long __result) Unsafe version of: | |
| nVRCompositor_GetCurrentFadeColor | back to summary |
|---|---|
| public static void nVRCompositor_GetCurrentFadeColor(boolean bBackground, long __result) Unsafe version of: | |
| nVRCompositor_GetFrameTiming | back to summary |
|---|---|
| public static boolean nVRCompositor_GetFrameTiming(long pTiming, int unFramesAgo) Unsafe version of: | |
| nVRCompositor_GetFrameTimings | back to summary |
|---|---|
| public static int nVRCompositor_GetFrameTimings(long pTiming, int nFrames) Unsafe version of: | |
| nVRCompositor_GetLastPoseForTrackedDeviceIndex | back to summary |
|---|---|
| public static int nVRCompositor_GetLastPoseForTrackedDeviceIndex(int unDeviceIndex, long pOutputPose, long pOutputGamePose) Unsafe version of: | |
| nVRCompositor_GetLastPosePredictionIDs | back to summary |
|---|---|
| public static int nVRCompositor_GetLastPosePredictionIDs(long pRenderPosePredictionID, long pGamePosePredictionID) Unsafe version of: | |
| nVRCompositor_GetLastPoses | back to summary |
|---|---|
| public static int nVRCompositor_GetLastPoses(long pRenderPoseArray, int unRenderPoseArrayCount, long pGamePoseArray, int unGamePoseArrayCount) Unsafe version of: | |
| nVRCompositor_GetMirrorTextureD3D11 | back to summary |
|---|---|
| public static int nVRCompositor_GetMirrorTextureD3D11(int eEye, long pD3D11DeviceOrResource, long ppD3D11ShaderResourceView) Unsafe version of: | |
| nVRCompositor_GetMirrorTextureGL | back to summary |
|---|---|
| public static int nVRCompositor_GetMirrorTextureGL(int eEye, long pglTextureId, long pglSharedTextureHandle) Unsafe version of: | |
| nVRCompositor_GetPosesForFrame | back to summary |
|---|---|
| public static int nVRCompositor_GetPosesForFrame(int unPosePredictionID, long pPoseArray, int unPoseArrayCount) Unsafe version of: | |
| nVRCompositor_GetVulkanDeviceExtensionsRequired | back to summary |
|---|---|
| public static int nVRCompositor_GetVulkanDeviceExtensionsRequired(long pPhysicalDevice, long pchValue, int unBufferSize) Unsafe version of: | |
| nVRCompositor_GetVulkanInstanceExtensionsRequired | back to summary |
|---|---|
| public static int nVRCompositor_GetVulkanInstanceExtensionsRequired(long pchValue, int unBufferSize) Unsafe version of: | |
| nVRCompositor_SetSkyboxOverride | back to summary |
|---|---|
| public static int nVRCompositor_SetSkyboxOverride(long pTextures, int unTextureCount) Unsafe version of: | |
| nVRCompositor_SetStageOverride_Async | back to summary |
|---|---|
| public static int nVRCompositor_SetStageOverride_Async(long pchRenderModelPath, long pTransform, long pRenderSettings, int nSizeOfRenderSettings) Unsafe version of: | |
| nVRCompositor_Submit | back to summary |
|---|---|
| public static int nVRCompositor_Submit(int eEye, long pTexture, long pBounds, int nSubmitFlags) Unsafe version of: | |
| nVRCompositor_WaitGetPoses | back to summary |
|---|---|
| public static int nVRCompositor_WaitGetPoses(long pRenderPoseArray, int unRenderPoseArrayCount, long pGamePoseArray, int unGamePoseArrayCount) Unsafe version of: | |
| VRCompositor_CanRenderScene | back to summary |
|---|---|
| public static boolean VRCompositor_CanRenderScene() Returns true if the current process has the scene focus.
| |
| VRCompositor_ClearLastSubmittedFrame | back to summary |
|---|---|
| public static void VRCompositor_ClearLastSubmittedFrame() Clears the frame that was sent with the last call to Submit. This will cause the compositor to show the grid until | |
| VRCompositor_ClearSkyboxOverride | back to summary |
|---|---|
| public static void VRCompositor_ClearSkyboxOverride() Resets compositor skybox back to defaults. | |
| VRCompositor_ClearStageOverride | back to summary |
|---|---|
| public static void VRCompositor_ClearStageOverride() Resets the stage to its default user specified setting. | |
| VRCompositor_CompositorBringToFront | back to summary |
|---|---|
| public static void VRCompositor_CompositorBringToFront() Brings the compositor window to the front. This is useful for covering any other window that may be on the HMD and is obscuring the compositor window. | |
| VRCompositor_CompositorDumpImages | back to summary |
|---|---|
| public static void VRCompositor_CompositorDumpImages() Writes back buffer and stereo left/right pair from the application to a 'screenshots' folder in the SteamVR runtime root. | |
| VRCompositor_CompositorGoToBack | back to summary |
|---|---|
| public static void VRCompositor_CompositorGoToBack() Pushes the compositor window to the back. This is useful for allowing other applications to draw directly to the HMD. | |
| VRCompositor_CompositorQuit | back to summary |
|---|---|
| public static void VRCompositor_CompositorQuit() DEPRECATED: Tells the compositor process to clean up and exit. You do not need to call this function at shutdown. Under normal circumstances the compositor will manage its own life cycle based on what applications are running. | |
| VRCompositor_FadeGrid | back to summary |
|---|---|
| public static void VRCompositor_FadeGrid(float fSeconds, boolean bFadeGridIn) Fading the Grid in or out in | |
| VRCompositor_FadeToColor | back to summary |
|---|---|
| public static void VRCompositor_FadeToColor(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, boolean bBackground) Fades the view on the HMD to the specified color. The fade will take | |
| VRCompositor_ForceInterleavedReprojectionOn | back to summary |
|---|---|
| public static void VRCompositor_ForceInterleavedReprojectionOn(boolean bOverride) Override interleaved reprojection logic to force on. | |
| VRCompositor_ForceReconnectProcess | back to summary |
|---|---|
| public static void VRCompositor_ForceReconnectProcess() Force reconnecting to the compositor process. | |
| VRCompositor_GetCompositorBenchmarkResults | back to summary |
|---|---|
| public static boolean VRCompositor_GetCompositorBenchmarkResults(Compositor_BenchmarkResults. Returns true if
| |
| VRCompositor_GetCumulativeStats | back to summary |
|---|---|
| public static void VRCompositor_GetCumulativeStats(CompositorCumulativeStats pStats, int nStatsSizeInBytes) Fills out stats accumulated for the last connected application.
| |
| VRCompositor_GetCumulativeStats | back to summary |
|---|---|
| public static void VRCompositor_GetCumulativeStats(CompositorCumulativeStats pStats) Fills out stats accumulated for the last connected application. | |
| VRCompositor_GetCurrentFadeColor | back to summary |
|---|---|
| public static HmdColor VRCompositor_GetCurrentFadeColor(boolean bBackground, HmdColor __result) Get current fade color value.
| |
| VRCompositor_GetCurrentGridAlpha | back to summary |
|---|---|
| public static float VRCompositor_GetCurrentGridAlpha() Get current alpha value of grid. | |
| VRCompositor_GetCurrentSceneFocusProcess | back to summary |
|---|---|
| public static int VRCompositor_GetCurrentSceneFocusProcess() Returns the process ID of the process that is currently rendering the scene.
| |
| VRCompositor_GetFrameTimeRemaining | back to summary |
|---|---|
| public static float VRCompositor_GetFrameTimeRemaining() Returns the time in seconds left in the current (as identified by FrameTiming's frameIndex) frame. Due to "running start", this value may roll over to the next frame before ever reaching 0.0. | |
| VRCompositor_GetFrameTiming | back to summary |
|---|---|
| public static boolean VRCompositor_GetFrameTiming(CompositorFrameTiming. Returns true if timing data is filled it. Sets oldest timing info if Be sure to set
| |
| VRCompositor_GetFrameTimings | back to summary |
|---|---|
| public static int VRCompositor_GetFrameTimings(CompositorFrameTiming. Interface for copying a range of timing data. Frames are returned in ascending order (oldest to newest) with the last being the most recent frame. Only
the first entry's
| |
| VRCompositor_GetLastFrameRenderer | back to summary |
|---|---|
| public static int VRCompositor_GetLastFrameRenderer() Returns the process ID of the process that rendered the last frame (or 0 if the compositor itself rendered the frame).
| |
| VRCompositor_GetLastPoseForTrackedDeviceIndex | back to summary |
|---|---|
| public static int VRCompositor_GetLastPoseForTrackedDeviceIndex(int unDeviceIndex, TrackedDevicePose pOutputPose, TrackedDevicePose pOutputGamePose) Interface for accessing last set of poses returned by It is okay to pass
| |
| VRCompositor_GetLastPosePredictionIDs | back to summary |
|---|---|
| public static int VRCompositor_GetLastPosePredictionIDs(IntBuffer pRenderPosePredictionID, IntBuffer pGamePosePredictionID) Returns the frame id associated with the poses last returned by Deltas between IDs correspond to number of headset vsync intervals.
| |
| VRCompositor_GetLastPoses | back to summary |
|---|---|
| public static int VRCompositor_GetLastPoses(TrackedDevicePose. Get the last set of poses returned by
| |
| VRCompositor_GetMirrorTextureD3D11 | back to summary |
|---|---|
| public static int VRCompositor_GetMirrorTextureD3D11(int eEye, long pD3D11DeviceOrResource, PointerBuffer ppD3D11ShaderResourceView) Opens a shared D3D11 texture with the undistorted composited image for each eye. Use
| |
| VRCompositor_GetMirrorTextureGL | back to summary |
|---|---|
| public static int VRCompositor_GetMirrorTextureGL(int eEye, IntBuffer pglTextureId, PointerBuffer pglSharedTextureHandle) Access to mirror textures from OpenGL.
| |
| VRCompositor_GetPosesForFrame | back to summary |
|---|---|
| public static int VRCompositor_GetPosesForFrame(int unPosePredictionID, TrackedDevicePose. Get the most up-to-date predicted (or recorded - up to 100ms old) set of poses for a given frame id.
| |
| VRCompositor_GetTrackingSpace | back to summary |
|---|---|
| public static int VRCompositor_GetTrackingSpace() Gets current tracking space returned by
| |
| VRCompositor_GetVulkanDeviceExtensionsRequired | back to summary |
|---|---|
| public static int VRCompositor_GetVulkanDeviceExtensionsRequired(long pPhysicalDevice, ByteBuffer pchValue) Returns 0. Otherwise it returns the length of the number of bytes necessary to hold this string including the trailing null. The string will be a space
separated list of required device extensions to enable in
| |
| VRCompositor_GetVulkanDeviceExtensionsRequired | back to summary |
|---|---|
| public static String VRCompositor_GetVulkanDeviceExtensionsRequired(long pPhysicalDevice, int unBufferSize) Returns 0. Otherwise it returns the length of the number of bytes necessary to hold this string including the trailing null. The string will be a space
separated list of required device extensions to enable in
| |
| VRCompositor_GetVulkanInstanceExtensionsRequired | back to summary |
|---|---|
| public static int VRCompositor_GetVulkanInstanceExtensionsRequired(ByteBuffer pchValue) Returns 0. Otherwise it returns the length of the number of bytes necessary to hold this string including the trailing null. The string will be a space
separated list of-required instance extensions to enable in
| |
| VRCompositor_GetVulkanInstanceExtensionsRequired | back to summary |
|---|---|
| public static String VRCompositor_GetVulkanInstanceExtensionsRequired(int unBufferSize) Returns 0. Otherwise it returns the length of the number of bytes necessary to hold this string including the trailing null. The string will be a space
separated list of-required instance extensions to enable in
| |
| VRCompositor_HideMirrorWindow | back to summary |
|---|---|
| public static void VRCompositor_HideMirrorWindow() DEPRECATED: Closes the headset view, either as a window or docked widget. | |
| VRCompositor_IsCurrentSceneFocusAppLoading | back to summary |
|---|---|
| public static boolean VRCompositor_IsCurrentSceneFocusAppLoading() Indicates whether or not the current scene focus app is currently loading. This is inferred from its use of
| |
| VRCompositor_IsFullscreen | back to summary |
|---|---|
| public static boolean VRCompositor_IsFullscreen() Return whether the compositor is fullscreen.
| |
| VRCompositor_IsMirrorWindowVisible | back to summary |
|---|---|
| public static boolean VRCompositor_IsMirrorWindowVisible() DEPRECATED: Returns true if the headset view (either as a window or docked widget) is shown.
| |
| VRCompositor_IsMotionSmoothingEnabled | back to summary |
|---|---|
| public static boolean VRCompositor_IsMotionSmoothingEnabled() Indicates whether or not motion smoothing is enabled by the user settings. If you want to know if motion smoothing actually triggered due to a late frame, check
| |
| VRCompositor_IsMotionSmoothingSupported | back to summary |
|---|---|
| public static boolean VRCompositor_IsMotionSmoothingSupported() Indicates whether or not motion smoothing is supported by the current hardware.
| |
| VRCompositor_LockGLSharedTextureForAccess | back to summary |
|---|---|
| public static void VRCompositor_LockGLSharedTextureForAccess(long glSharedTextureHandle) | |
| VRCompositor_PostPresentHandoff | back to summary |
|---|---|
| public static void VRCompositor_PostPresentHandoff() Call immediately after presenting your app's window (i.e. companion window) to unblock the compositor. This is an optional call, which only needs to be used if you can't instead call | |
| VRCompositor_ReleaseMirrorTextureD3D11 | back to summary |
|---|---|
| public static void VRCompositor_ReleaseMirrorTextureD3D11(long pD3D11ShaderResourceView) Releases a shared D3D11 texture. | |
| VRCompositor_ReleaseSharedGLTexture | back to summary |
|---|---|
public static boolean VRCompositor_ReleaseSharedGLTexture(int glTextureId, long glSharedTextureHandle)
| |
| VRCompositor_SetExplicitTimingMode | back to summary |
|---|---|
public static void VRCompositor_SetExplicitTimingMode(int eTimingMode)Vulkan/D3D12 OnlyThere are two purposes for
More accurate GPU timestamp for the start of the frame is achieved by the application calling Avoiding | |
| VRCompositor_SetSkyboxOverride | back to summary |
|---|---|
| public static int VRCompositor_SetSkyboxOverride(Texture. Override the skybox used in the compositor (e.g. for during level loads when the app can't feed scene images fast enough) Order is Front, Back, Left, Right, Top, Bottom. If only a single texture is passed, it is assumed in lat-long format. If two are passed, it is assumed a lat-long stereo pair.
| |
| VRCompositor_SetStageOverride_Async | back to summary |
|---|---|
| public static int VRCompositor_SetStageOverride_Async(ByteBuffer pchRenderModelPath, HmdMatrix34 pTransform, CompositorStageRenderSettings pRenderSettings, int nSizeOfRenderSettings) Override the stage model used in the compositor to replace the grid.
| |
| VRCompositor_SetStageOverride_Async | back to summary |
|---|---|
| public static int VRCompositor_SetStageOverride_Async(ByteBuffer pchRenderModelPath, HmdMatrix34 pTransform, CompositorStageRenderSettings pRenderSettings) Override the stage model used in the compositor to replace the grid.
| |
| VRCompositor_SetStageOverride_Async | back to summary |
|---|---|
| public static int VRCompositor_SetStageOverride_Async(CharSequence pchRenderModelPath, HmdMatrix34 pTransform, CompositorStageRenderSettings pRenderSettings) Override the stage model used in the compositor to replace the grid.
| |
| VRCompositor_SetTrackingSpace | back to summary |
|---|---|
| public static void VRCompositor_SetTrackingSpace(int eOrigin) Sets tracking space returned by | |
| VRCompositor_ShouldAppRenderWithLowResources | back to summary |
|---|---|
| public static boolean VRCompositor_ShouldAppRenderWithLowResources() Let an app know it should be rendering with low resources.
| |
| VRCompositor_ShowMirrorWindow | back to summary |
|---|---|
| public static void VRCompositor_ShowMirrorWindow() DEPRECATED: Opens the headset view (as either a window or docked widget depending on user's preferences) that displays what the user sees in the headset. | |
| VRCompositor_Submit | back to summary | ||
|---|---|---|---|
| public static int VRCompositor_Submit(int eEye, Texture pTexture, VRTextureBounds pBounds, int nSubmitFlags) Updated scene texture to display. If OpenGL dirty state: glBindTexture
| |||
| VRCompositor_SubmitExplicitTimingData | back to summary |
|---|---|
public static int VRCompositor_SubmitExplicitTimingData()Vulkan/D3D12 OnlySubmit explicit timing data. When
| |
| VRCompositor_SuspendRendering | back to summary |
|---|---|
| public static void VRCompositor_SuspendRendering(boolean bSuspend) Temporarily suspends rendering (useful for finer control over scene transitions). | |
| VRCompositor_UnlockGLSharedTextureForAccess | back to summary |
|---|---|
| public static void VRCompositor_UnlockGLSharedTextureForAccess(long glSharedTextureHandle) | |
| VRCompositor_WaitGetPoses | back to summary |
|---|---|
| public static int VRCompositor_WaitGetPoses(TrackedDevicePose. Scene applications should call this function to get poses to render with (and optionally poses predicted an additional frame out to use for gameplay). This function will block until "running start" milliseconds before the start of the frame, and should be called at the last moment before needing to start rendering.
| |