深度樣板變數介面會存取深度樣板狀態。
繼承
ID3D10EffectDepthStencilVariable 介面繼承自 ID3D10EffectVariable。 ID3D10EffectDepthStencilVariable 也有下列類型的成員:
方法
ID3D10EffectDepthStencilVariable 介面具有這些方法。
|
ID3D10EffectDepthStencilVariable::GetBackingStore 取得包含深度樣板狀態的變數指標。 |
|
ID3D10EffectDepthStencilVariable::GetDepthStencilState 取得深度樣板介面的指標。 |
備註
當效果讀入記憶體時,就會建立 ID3D10EffectDepthStencilVariable 介面 。
效果變數會儲存在備份存儲區的記憶體中;套用技術時,備份存儲區中的值會複製到裝置。 您可以使用其中一種方法傳回狀態。 如需範例,請參閱 取得效果變數中狀態的兩種方式。
規格需求
| 需求 | 值 |
|---|---|
| 目標平台 | Windows |
| 標頭 | d3d10effect.h |