XNA Creators Club Online
Page 1 of 1 (1 items)
Sort Posts: Previous Next

Open Shared Surface with D3D9Ex

Last post 29/10/2009 14:57 by daVinci. 0 replies.
  • 29/10/2009 14:57

    Open Shared Surface with D3D9Ex

    I create D3D10.1 render target with flag D3D10_RESOURCE_MISC_SHARED and get sharedHandle.

    IDXGIResource* pResource(NULL);
    HRESULT hr = renderTarget->QueryInterface( __uuidof(IDXGIResource), (void**)&pResource );
    HANDLE sharedHandle;
    pResource->GetSharedHandle(&sharedHandle);

    How can I open this shared texture on D3D9Ex device?
Page 1 of 1 (1 items) Previous Next