// Oculus System|SDK_Oculus|002
namespace VRTK
{
///
/// The Oculus System SDK script provides a bridge to the Oculus SDK.
///
[SDK_Description("Oculus Rift (Standalone:Oculus)", SDK_OculusDefines.ScriptingDefineSymbol, "Oculus", "Standalone")]
[SDK_Description("GearVR (Android:Oculus)", SDK_OculusDefines.ScriptingDefineSymbol, "Oculus", "Android", 1)]
public class SDK_OculusSystem
#if VRTK_DEFINE_SDK_OCULUS
: SDK_BaseSystem
#else
: SDK_FallbackSystem
#endif
{
#if VRTK_DEFINE_SDK_OCULUS
///
/// The IsDisplayOnDesktop method returns true if the display is extending the desktop.
///
/// Returns true if the display is extending the desktop
public override bool IsDisplayOnDesktop()
{
return false;
}
///
/// The ShouldAppRenderWithLowResources method is used to determine if the Unity app should use low resource mode. Typically true when the dashboard is showing.
///
/// Returns true if the Unity app should render with low resources.
public override bool ShouldAppRenderWithLowResources()
{
return false;
}
///
/// The ForceInterleavedReprojectionOn method determines whether Interleaved Reprojection should be forced on or off.
///
/// If true then Interleaved Reprojection will be forced on, if false it will not be forced on.
public override void ForceInterleavedReprojectionOn(bool force)
{
}
#endif
}
}