Skip to content

Latest commit

 

History

History
90 lines (50 loc) · 2.96 KB

id3dx11effectsamplervariable.md

File metadata and controls

90 lines (50 loc) · 2.96 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
ID3DX11EffectSamplerVariable interface (D3dx11effect.h)
A sampler interface accesses sampler state.
8d21f829-2145-45f2-a9b4-2fdc06e0a879
ID3DX11EffectSamplerVariable interface Direct3D 11
ID3DX11EffectSamplerVariable interface Direct3D 11 , described
apiref
ID3DX11EffectSamplerVariable
N/A
N/A.dll
COM
reference
05/31/2018

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