IDXGIResource Members

IDXGIResource has the following members.

Public Methods

  Name Description
GetEvictionPriority Get the eviction priority.
GetSharedHandle Gets the handle to a shared resource.
Note Starting with Direct3D 11.1, we recommend not to use GetSharedHandle anymore to retrieve the handle to a shared resource. Instead, use IDXGIResource1::CreateSharedHandle to get a handle for sharing. To use IDXGIResource1::CreateSharedHandle, you must create the resource as shared and specify that it uses NT handles (that is, you set the [D3D11RESOURCE_MISC_SHARED_NTHANDLE](D3D11_RESOURCE_MISC_FLAG_typedef__d3d11_X_M_T.htm) flag). We also recommend that you create shared resources that use NT handles so you can use CloseHandle, DuplicateHandle, and so on on those shared resources.
GetUsage Get the expected resource usage.
SetEvictionPriority Set the priority for evicting the resource from memory.

See also

IDXGIResource