ID3DX11EffectType interface

The ID3DX11EffectType interface accesses effect variables by type.

The lifetime of an ID3DX11EffectType object is equal to the lifetime of its parent ID3DX11Effect object.

Methods

The ID3DX11EffectType interface has these methods.

MethodDescription
GetDesc

Get an effect-type description.

GetMemberName

Get the name of a member.

GetMemberSemantic

Get the semantic attached to a member.

GetMemberTypeByIndex

Get a member type by index.

GetMemberTypeByName

Get an member type by name.

GetMemberTypeBySemantic

Get a member type by semantic.

IsValid

Tests that the effect type is valid.

 

Remarks

To get information about an effect type from an effect variable, call ID3DX11EffectVariable::GetType.

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

Header

D3dx11effect.h

Library

N/A (An Effects 11 library is available online as shared source.)

See also

D3DX Interfaces

 

 

Community Additions

ADD
Show:
© 2015 Microsoft