Why Win8 should use D3D11_RESOURCE_MISC_SHARED_NTHANDLE ? RRS feed


  • Compared to legacy handle, the major advantage offered by NT handle is security (or access control). With IDXGIResource1::CreateSharedHandle API, you will be able to specify security attribute to the shared handle. This allow you to share D3D resource securely within a process, or across multiple processes. It is also tighten what type of resource can be shared. With legacy sharing, D3D11 doesn't perform strong validation on resource type, which put some difficaulty in driver support and hard for application to expect what is sure to work across different hardware/drivers.

    • Marked as answer by Raptor K Thursday, September 20, 2012 11:15 AM
    Wednesday, September 19, 2012 8:35 PM