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 接口