IPixShaderProfilingLive::IsSupported method

Determines whether live shader profiling is available for the analysis adapter.

Syntax

HRESULT IsSupported(
    BOOL * supported,
    _Outptr_result_maybenull_ LPCWSTR * unsupportedReason);

Parameters

supported [out]

TRUE if live shader profiling is available, otherwise FALSE.

unsupportedReason [out]

The description of why live shader profiling is unavailable, or nullptr when profiling is supported.

Returns

S_OK on success, otherwise an error code.

See also