A rasterizer-variable interface accesses rasterizer state.
The ID3DX11EffectRasterizerVariable interface inherits from ID3DX11EffectVariable. ID3DX11EffectRasterizerVariable also has these types of members:
The ID3DX11EffectRasterizerVariable interface has these methods.
|GetBackingStore||Get a pointer to a variable that contains rasteriser state.
|GetRasterizerState||Get a pointer to a rasterizer interface.
|SetRasterizerState||Sets the rasterizer state.
|UndoSetRasterizerState||Reverts a previously set rasterizer state.
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.
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.