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.
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.