次の方法で共有


ID3D10EffectDepthStencilVariable::GetDepthStencilState

深度ステンシル インターフェイスへのポインターを取得します。

HRESULT 
GetDepthStencilState(
  UINT Index,
  ID3D10DepthStencilState **ppDepthStencilState
);

パラメータ

  • Index
    深度ステンシル インターフェイスの配列のインデックスです。深度ステンシル インターフェイスが 1 つしかない場合は、0 を使用します。
  • ppDepthStencilState
    ブレンド ステート インターフェイスへのポインターのアドレスです (「ID3D10DepthStencilState インターフェイス」を参照してください)。

戻り値

次の Direct3D 10 のリターン コード のいずれかを返します。

要件

ヘッダー: D3D10Effect.h 宣言

関連項目

ID3D10EffectDepthStencilVariable インターフェイス