Export (0) Print
Expand All

ID3DXEffectCompiler interface

The ID3DXEffectCompiler interface compiles an effect from a function or from a vertex shader.

Members

The ID3DXEffectCompiler interface inherits from ID3DXBaseEffect. ID3DXEffectCompiler also has these types of members:

Methods

The ID3DXEffectCompiler interface has these methods.

MethodDescription
CompileEffect

Compile an effect.

CompileShader

Compiles a shader from an effect that contains one or more functions.

GetLiteral

Gets a literal status of a parameter. A literal parameter has a value that doesn't change during the lifetime of an effect.

SetLiteral

Toggles the literal status of a parameter. A literal parameter has a value that doesn't change during the lifetime of an effect.

 

Remarks

The ID3DXEffectCompiler interface is obtained by calling D3DXCreateEffectCompiler, D3DXCreateEffectCompilerFromFile, or D3DXCreateEffectCompilerFromResource.

The LPD3DXEFFECTCOMPILER type is defined as a pointer to this interface.



typedef interface ID3DXEffectCompiler ID3DXEffectCompiler;
typedef interface ID3DXEffectCompiler *LPD3DXEFFECTCOMPILER;


Requirements

Header

D3DX9Effect.h

Library

D3dx9.lib

See also

D3DXCreateEffectCompiler
D3DXCreateEffectCompilerFromFile
D3DXCreateEffectCompilerFromResource

 

 

Community Additions

ADD
Show:
© 2014 Microsoft