代表疑似是裝置錯誤原因的代碼位置,從 IPixShaderWave::GetOffendingCodeLocations 取得。
繼承
IPixOffendingShaderCodeLocation 繼承自 IPixShaderCodeLocation → IUnknown。
介面識別碼
{EAFDBF51-89D8-4512-AD75-3E1A9F839B73}
方法
介面會 IPixOffendingShaderCodeLocation 宣告這些方法。
| 方法 | 描述 |
|---|---|
| GetExplanation | 傳回為何懷疑代碼位置會造成問題的簡短說明。 |
| GetReason | 傳回可能造成問題的代碼位置原因。 |
繼承的方法
| 方法 | 定義者 |
|---|---|
| GetCodeType | IPixShaderCodeLocation |
| GetLineNumber | IPixShaderCodeLocation |
| GetStatement | IPixShaderCodeLocation |
| GetCallStack | IPixShaderCodeLocation |
| GetNode | IPixShaderCodeLocation |
需求
標頭: PixApiShaderInterfaces.h