none
DX9 ShareResource problem RRS feed

  • 问题

  • How can I use share one surface in different device? All the information said it was surported,

    the main code:

    IDirect3DTexture9* d3d9Tex = NULL;
    HANDLE _sharedHandle = NULL;
    hr = m_device->CreateTexture(800, 600, 1,
    D3DUSAGE_RENDERTARGET, D3DFMT_A8R8G8B8, D3DPOOL_DEFAULT, &d3d9Tex, &_sharedHandle);

    2015年9月28日 4:48