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.
Preprocesses a shader to a single source file.
Syntax
HRESULT Preprocess(
const PIX_SHADER_PROFILING_SOURCE_SHADER * shader,
REFIID riid,
void ** preprocessResult);
Parameters
shader [in]
The shader to preprocess
riid [in]
The interface IID of the document to be returned. Expected: IPixShaderProfilingPreprocess
preprocessResult [out]
The pointer to the returned interface
Returns
S_OK if the preprocessing was successful, otherwise an error code