ID3DX11EffectDepthStencilVariable::GetDepthStencilState method
Get a pointer to a depth-stencil interface.
Syntax
HRESULT GetDepthStencilState(
UINT Index,
ID3D11DepthStencilState **ppDepthStencilState
);
Parameters
-
Index
-
Type: UINT
Index into an array of depth-stencil interfaces. If there is only one depth-stencil interface, use 0.
-
ppDepthStencilState
-
Type: ID3D11DepthStencilState**
The address of a pointer to a blend-state interface (see ID3D11DepthStencilState).
Return value
Type: HRESULT
Returns one of the following Direct3D 11 Return Codes.
Remarks
Note
The DirectX SDK does not supply any compiled binaries for effects. You must use Effects 11 source to build your effects-type application. For more information about using Effects 11 source, see Differences Between Effects 10 and Effects 11.
Requirements
Requirement | Value |
---|---|
Header |
|
Library |
|