Skip to main content
New Participant
September 11, 2014

API call to query Direct Vs Extended Mode?

Hi,

I looked but didn't see a way in SDK 4+ to query the runtime and find out if it's set to Extended or Direct. This seems like something quite basic, I'm probably overlooking it, can somebody point me in the right direction? We're using D3D for rendering.

Many thanks in advance,
Pete

    2 replies

    Up and Coming
    September 11, 2014
    if(HMD->HmdCaps & ovrHmdCap_ExtendDesktop)
    {
    cout << "running in \"extended desktop\" mode" << endl;
    }
    c1pwAuthor
    New Participant
    September 11, 2014
    Of course. Thanks!