Inheritance
CVRCompositor
Assembly: cs.temp.dll.dll
public class CVRCompositor
Methods
Declaration
public bool CanRenderScene()
Returns
Declaration
public void ClearLastSubmittedFrame()
Declaration
public void ClearSkyboxOverride()
Declaration
public void CompositorBringToFront()
Declaration
public void CompositorDumpImages()
Declaration
public void CompositorGoToBack()
Declaration
public void CompositorQuit()
Declaration
public void FadeGrid(float fSeconds, bool bFadeIn)
Parameters
Declaration
public void FadeToColor(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground)
Parameters
Declaration
public void ForceInterleavedReprojectionOn(bool bOverride)
Parameters
Type |
Name |
Description |
Boolean |
bOverride |
|
Declaration
public void ForceReconnectProcess()
Declaration
public void GetCumulativeStats(ref Compositor_CumulativeStats pStats, uint nStatsSizeInBytes)
Parameters
Declaration
public HmdColor_t GetCurrentFadeColor(bool bBackground)
Parameters
Type |
Name |
Description |
Boolean |
bBackground |
|
Returns
Declaration
public float GetCurrentGridAlpha()
Returns
Declaration
public uint GetCurrentSceneFocusProcess()
Returns
GetFrameTimeRemaining()
Declaration
public float GetFrameTimeRemaining()
Returns
Declaration
public bool GetFrameTiming(ref Compositor_FrameTiming pTiming, uint unFramesAgo)
Parameters
Returns
Declaration
public uint GetFrameTimings(ref Compositor_FrameTiming pTiming, uint nFrames)
Parameters
Returns
Declaration
public uint GetLastFrameRenderer()
Returns
Declaration
public EVRCompositorError GetLastPoseForTrackedDeviceIndex(uint unDeviceIndex, ref TrackedDevicePose_t pOutputPose, ref TrackedDevicePose_t pOutputGamePose)
Parameters
Returns
Declaration
public EVRCompositorError GetLastPoses(TrackedDevicePose_t[] pRenderPoseArray, TrackedDevicePose_t[] pGamePoseArray)
Parameters
Returns
Declaration
public EVRCompositorError GetMirrorTextureD3D11(EVREye eEye, IntPtr pD3D11DeviceOrResource, ref IntPtr ppD3D11ShaderResourceView)
Parameters
Type |
Name |
Description |
EVREye |
eEye |
|
IntPtr |
pD3D11DeviceOrResource |
|
IntPtr |
ppD3D11ShaderResourceView |
|
Returns
Declaration
public EVRCompositorError GetMirrorTextureGL(EVREye eEye, ref uint pglTextureId, IntPtr pglSharedTextureHandle)
Parameters
Returns
Declaration
public ETrackingUniverseOrigin GetTrackingSpace()
Returns
GetVulkanDeviceExtensionsRequired(IntPtr, StringBuilder, UInt32)
Declaration
public uint GetVulkanDeviceExtensionsRequired(IntPtr pPhysicalDevice, StringBuilder pchValue, uint unBufferSize)
Parameters
Returns
Declaration
public uint GetVulkanInstanceExtensionsRequired(StringBuilder pchValue, uint unBufferSize)
Parameters
Returns
Declaration
public void HideMirrorWindow()
Declaration
public bool IsFullscreen()
Returns
Declaration
public bool IsMirrorWindowVisible()
Returns
Declaration
public bool IsMotionSmoothingEnabled()
Returns
Declaration
public void LockGLSharedTextureForAccess(IntPtr glSharedTextureHandle)
Parameters
Type |
Name |
Description |
IntPtr |
glSharedTextureHandle |
|
PostPresentHandoff()
Declaration
public void PostPresentHandoff()
Declaration
public void ReleaseMirrorTextureD3D11(IntPtr pD3D11ShaderResourceView)
Parameters
Type |
Name |
Description |
IntPtr |
pD3D11ShaderResourceView |
|
Declaration
public bool ReleaseSharedGLTexture(uint glTextureId, IntPtr glSharedTextureHandle)
Parameters
Type |
Name |
Description |
UInt32 |
glTextureId |
|
IntPtr |
glSharedTextureHandle |
|
Returns
Declaration
public void SetExplicitTimingMode(EVRCompositorTimingMode eTimingMode)
Parameters
Declaration
public EVRCompositorError SetSkyboxOverride(Texture_t[] pTextures)
Parameters
Returns
Declaration
public void SetTrackingSpace(ETrackingUniverseOrigin eOrigin)
Parameters
Declaration
public bool ShouldAppRenderWithLowResources()
Returns
Declaration
public void ShowMirrorWindow()
Declaration
public EVRCompositorError Submit(EVREye eEye, ref Texture_t pTexture, ref VRTextureBounds_t pBounds, EVRSubmitFlags nSubmitFlags)
Parameters
Returns
Declaration
public EVRCompositorError SubmitExplicitTimingData()
Returns
Declaration
public void SuspendRendering(bool bSuspend)
Parameters
Type |
Name |
Description |
Boolean |
bSuspend |
|
Declaration
public void UnlockGLSharedTextureForAccess(IntPtr glSharedTextureHandle)
Parameters
Type |
Name |
Description |
IntPtr |
glSharedTextureHandle |
|
Declaration
public EVRCompositorError WaitGetPoses(TrackedDevicePose_t[] pRenderPoseArray, TrackedDevicePose_t[] pGamePoseArray)
Parameters
Returns