ID3DX11EffectShaderResourceVariable interface

A shader-resource interface accesses a shader resource.

Members

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

Methods

The ID3DX11EffectShaderResourceVariable interface has these methods.

Method Description
GetResource Get a shader resource.
GetResourceArray Get an array of shader resources.
SetResource Set a shader resource.
SetResourceArray Set an array of shader resources.

Remarks

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