代表著色器變數。 從 IPixShaderWave::GetVariables、 IPixShaderLane::GetVariables、 IPixShaderWave::EvaluateExpression 或巢狀元件) 此介面自己的 GetComponents (取得。
繼承
IPixShaderVariable 繼承自 IUnknown。
介面識別碼
{473C01B6-E204-4539-A3FA-C8C86E0E7AF6}
方法
介面會 IPixShaderVariable 宣告這些方法。
| 方法 | 描述 |
|---|---|
| GetName | 取得這個變數的名稱。 |
| GetLocation | 取得此變數的硬體位置。 |
| GetComponents | 以著色器變數介面物件的形式取得元件集合。 |
| GetValues | 取得此變數的值 (s) ,每個評估通道一個。 |
需求
標頭: PixApiShaderInterfaces.h