Sets an interface in the object’s private data, for graphics. Associates an IGraphicsUnknown-derived interface with this IDXGIObject and associates that interface with an application-defined GUID.
public:
HRESULT SetPrivateDataInterfaceGraphics(
REFGUID Name,
const IGraphicsUnknown *pUnknown
)
Name
Type: REFGUID
[in] The GUID associated with this IDXGIObject instance.
pUnknown
Type: IGraphicsUnknown *
[in] The interface to be associated with the IDXGIObject, as a pointer to IGraphicsUnknown.
Type: HRESULT
A DXGI_ERROR code or one of the Direct3D 11 return codes.
Header: Declared in d3d11_x.h.
Library: Use d3d11_x.lib.