ID3D10EffectSamplerVariable interface

A sampler interface accesses sampler state.

Members

The ID3D10EffectSamplerVariable interface inherits from ID3D10EffectVariable. ID3D10EffectSamplerVariable also has these types of members:

Methods

The ID3D10EffectSamplerVariable interface has these methods.

MethodDescription
GetBackingStore

Get a pointer to a variable that contains sampler state.

GetSampler

Get a pointer to a sampler interface.

 

Remarks

An ID3D10EffectSamplerVariable 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. For examples, see Two Ways to Get the State in an Effect Variable.

Requirements

Header

D3D10Effect.h

Library

D3D10.lib

See also

Effect Interfaces (Direct3D 10)

 

 

Community Additions

ADD
Show:
© 2014 Microsoft