ID3D12Object::SetPrivateDataInterface method
Associates an IUnknown-derived interface with the device object and associates that interface with an application-defined GUID.
Syntax
HRESULT SetPrivateDataInterface( [in] REFGUID guid, [in, optional] const IUnknown *pData );
Parameters
- guid [in]
-
Type: REFGUID
The GUID to associate with the interface.
- pData [in, optional]
-
Type: const IUnknown*
A pointer to the IUnknown-derived interface to be associated with the device object.
Return value
Type: HRESULT
This method returns one of the Direct3D 12 Return Codes.
Requirements
|
Header |
|
|---|---|
|
Library |
|
|
DLL |
|
See also
Show: