ID3D10EffectSamplerVariable::GetBackingStore 方法 (d3d10effect.h)

取得包含取樣器狀態之變數的指標。

語法

HRESULT GetBackingStore(
  [in] UINT               Index,
  [in] D3D10_SAMPLER_DESC *pSamplerDesc
);

參數

[in] Index

類型: UINT

編制取樣器描述陣列的索引。 如果效果中只有一個取樣器變數,請使用 0。

[in] pSamplerDesc

類型: D3D10_SAMPLER_DESC*

取樣器描述的指標 (請參閱 D3D10_SAMPLER_DESC) 。

傳回值

類型: HRESULT

傳回下列其中一個 Direct3D 10 傳回碼

規格需求

   
目標平台 Windows
標頭 d3d10effect.h

另請參閱

ID3D10EffectSamplerVariable 介面