Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the adapters supported for profiling.
Syntax
HRESULT GetAdapters(
LPCWSTR additionalCompilersSearchDirectory,
REFIID riid,
void ** adapters);
Parameters
additionalCompilersSearchDirectory [in]
Optional additional directory to search for shader compilers, or nullptr to use the defaults.
riid [in]
The interface IID of the collection to be returned. Expected: IPixCollection<IPixShaderProfilingAdapter>
adapters [out]
Pointer to the returned interface
Returns
S_OK if successful, otherwise an error code