IPixShaderProfilingPreprocess::GetCompilerOutput 方法

取得編譯器輸出 (在前置處理期間發出的警告或錯誤) 。 如果未產生任何輸出,則可能為空。

語法

HRESULT GetCompilerOutput(
    UINT32 index,
    LPCWSTR * compilerOutput);

參數

index

沒有提供描述。

compilerOutput

沒有提供描述。

傳回

成功時S_OK,否則為錯誤碼。

註解

無論前置處理是否成功,編譯器輸出都可以存在。 成功時,這可能是警告,失敗時,這可能是警告和/或錯誤

另請參閱