ID3DXBaseEffect interface

Provides methods for getting and setting effect parameters such as constants, functions, shaders, and techniques.

Members

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

Methods

The ID3DXBaseEffect interface has these methods.

Method Description
GetAnnotation Gets the handle of an annotation.
GetAnnotationByName Gets the handle of an annotation by looking up its name.
GetBool Gets a BOOL value.
GetBoolArray Gets an array of BOOL values.
GetDesc Gets the effect description.
GetFloat Gets a floating point value.
GetFloatArray Gets an array of floating point values.
GetFunction Gets the handle of a function.
GetFunctionByName Gets the handle of a function by looking up its name.
GetFunctionDesc Gets a function description.
GetInt Gets an integer.
GetIntArray Gets an array of integers.
GetMatrix Gets a nontransposed matrix.
GetMatrixArray Gets an array of nontransposed matrices.
GetMatrixPointerArray Gets an array of pointers to nontransposed matrices.
GetMatrixTranspose Gets a transposed matrix.
GetMatrixTransposeArray Gets an array of transposed matrices.
GetMatrixTransposePointerArray Gets an array of pointers to transposed matrices.
GetParameter Gets the handle of a top-level parameter or a structure member parameter.
GetParameterByName Gets the handle of a top-level parameter or a structure member parameter by looking up its name.
GetParameterBySemantic Gets the handle of a top-level parameter or a structure member parameter by looking up its semantic with a case-insensitive search.
GetParameterDesc Gets a parameter or annotation description.
GetParameterElement Get the handle of an array element parameter.
GetPass Gets the handle of a pass.
GetPassByName Gets the handle of a pass by looking up its name.
GetPassDesc Gets a pass description.
GetPixelShader Gets a pixel shader.
GetString Gets a string.
GetTechnique Gets the handle of a technique.
GetTechniqueByName Gets the handle of a technique by looking up its name.
GetTechniqueDesc Gets a technique description.
GetTexture Gets a texture.
GetValue Get the value of an arbitrary parameter or annotation, including simple types, structs, arrays, strings, shaders and textures. This method can be used in place of nearly all the Getxxx calls in ID3DXBaseEffect.
GetVector Gets a vector.
GetVectorArray Gets an array of vectors.
GetVertexShader Gets a vertex shader.
SetArrayRange Set the range of an array to pass to the device.
SetBool Sets a BOOL value.
SetBoolArray Sets an array of Boolean values.
SetFloat Sets a floating point value.
SetFloatArray Sets an array of floating point values.
SetInt Sets an integer.
SetIntArray Sets an array of integers.
SetMatrix Sets a non-transposed matrix.
SetMatrixArray Sets an array of nontransposed matrices.
SetMatrixPointerArray Sets an array of pointers to nontransposed matrices.
SetMatrixTranspose Sets a transposed matrix.
SetMatrixTransposeArray Sets an array of transposed matrices.
SetMatrixTransposePointerArray Sets an array of pointers to transposed matrices.
SetString Sets a string.
SetTexture Sets a texture.
SetValue Set the value of an arbitrary parameter or annotation, including simple types, structs, arrays, strings, shaders and textures.
SetVector Sets a vector.
SetVectorArray Sets an array of vectors.

 

Remarks

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

typedef interface ID3DXBaseEffect ID3DXBaseEffect;
typedef interface ID3DXBaseEffect *LPD3DXBASEEFFECT;
        

Requirements

Requirement Value
Header
D3DX9Effect.h
Library
D3dx9.lib

See also

Effect Interfaces

D3DXCreateEffect