ID3D11DeviceContext::OMGetDepthStencilState メソッド (d3d11.h)

出力マージャー ステージの深度ステンシル状態を取得します。

構文

void OMGetDepthStencilState(
  [out, optional] ID3D11DepthStencilState **ppDepthStencilState,
  [out, optional] UINT                    *pStencilRef
);

パラメーター

[out, optional] ppDepthStencilState

種類: ID3D11DepthStencilState**

デバイスからの情報が入力される深度ステンシル状態インターフェイス ( ID3D11DepthStencilState を参照) へのポインターのアドレス。

[out, optional] pStencilRef

型: UINT*

深度ステンシル テストで使用されるステンシル参照値へのポインター。

戻り値

なし

解説

返されたインターフェイスの参照カウントは 1 ずつ増加します。 アプリケーションは、メモリ リークを回避するために不要になった場合に、返されたインターフェイスで IUnknown::Release を呼び出す必要があります。

Windows Phone 8: この API はサポートされています。

要件

要件
対象プラットフォーム Windows
ヘッダー d3d11.h
Library D3D11.lib

こちらもご覧ください

ID3D11DeviceContext