Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Method | Description |
---|---|
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
Requirement | Value |
---|---|
Header |
|
Library |
|
See also