效果介面 (Direct3D 10)

本節包含下列效果系統介面的相關資訊:

介面 描述
ID3D10EffectBlendVariable 介面 存取混合狀態。
ID3D10EffectConstantBuffer 介面 存取紋理緩衝區或常數緩衝區。
ID3D10EffectDepthStencilVariable 介面 存取深度樣板狀態。
ID3D10EffectDepthStencilViewVariable 介面 存取深度樣板檢視。
ID3D10Effect 介面 在一或多個轉譯技術中封裝管線狀態。
ID3D10Include 介面 使用者實作用來讀取 include 檔案的方法。
ID3D10EffectMatrixVariable 介面 存取矩陣。
ID3D10EffectPass 介面 將效果狀態封裝在傳遞中。
ID3D10EffectPool 介面 識別共用效果變數。
ID3D10EffectRasterizerVariable 介面 存取點陣化狀態。
ID3D10EffectRenderTargetViewVariable 介面 存取轉譯目標。
ID3D10EffectSamplerVariable 介面 存取取樣器狀態。
ID3D10EffectScalarVariable 介面 存取純量變數。
ID3D10EffectShaderResourceVariable 介面 存取著色器資源。
ID3D10EffectShaderVariable 介面 存取著色器變數。
ID3D10EffectStringVariable 介面 存取字串。
ID3D10EffectTechnique 介面 封裝一或多個傳遞。
ID3D10EffectType 介面 實作存取效果變數的方法。
ID3D10EffectVectorVariable 介面 存取向量。

 

效果架構中有兩種介面:用來轉譯效果的轉譯介面,以及使用 API 取得和設定效果變數的反映介面。 所有反映介面都衍生自 ID3D10EffectVariable 介面

效果參考