ID3DX11EffectSamplerVariable interface

A sampler interface accesses sampler state.

Members

The ID3DX11EffectSamplerVariable interface inherits from ID3DX11EffectVariable. ID3DX11EffectSamplerVariable also has these types of members:

Methods

The ID3DX11EffectSamplerVariable interface has these methods.

Method Description
GetBackingStore Get a pointer to a variable that contains sampler state.
GetSampler Get a pointer to a sampler interface.
SetSampler Set sampler state.
UndoSetSampler Revert a previously set sampler 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
D3dx11effect.h
Library
N/A (An Effects 11 library is available online as shared source.)

See also

ID3DX11EffectVariable

Effects 11 Interfaces

D3DX Interfaces