IPixShaderProfilingDocument::GetAdapters method

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

See also