IPixFactory::OpenShaderProfilingDocument method

Opens a shader profiling document.

Syntax

HRESULT OpenShaderProfilingDocument(
    IPixLogging * logger,
    REFIID riid,
    void ** document);

Parameters

logger [in]

Logging callback for messages related to shader profiling (optional)

riid [in]

The interface IID of the document to be returned. Expected: IPixShaderProfilingDocument

document [out]

The pointer to the returned interface.

Returns

S_OK if the document was opened successfully, otherwise an error code.

See also