ID3DX11EffectDepthStencilVariable interface
A depth-stencil-variable interface accesses depth-stencil state.
Members
The ID3DX11EffectDepthStencilVariable interface inherits from ID3DX11EffectVariable. ID3DX11EffectDepthStencilVariable also has these types of members:
Methods
The ID3DX11EffectDepthStencilVariable interface has these methods.
Method | Description |
---|---|
GetBackingStore | Get a pointer to a variable that contains depth-stencil state. |
GetDepthStencilState | Get a pointer to a depth-stencil interface. |
SetDepthStencilState | Sets the depth stencil state. |
UndoSetDepthStencilState | Reverts a previously set depth stencil state. |
Remarks
An ID3DX11EffectVariable interface is created when an effect is read into memory.
Effect variables are saved in memory in the backing store; when a technique is applied, the values in the backing store are copied to the device. You can use either of these methods to return state.
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 |
|