Microsoft DirectX 8.0 (C++)

D3DXPARAMETER_DESC

Describes a parameter used for an effect object.

typedef struct _D3DXPARAMETER_DESC
{
    DWORD             Name;
    D3DXPARAMETERTYPE Type;

} D3DXPARAMETER_DESC;

Members

Name
Four-character code that is the name of parameter.
Type
Describes the type of variable used for this parameter. This member is one of the following constants:
D3DXPT_DWORD
Parameter is a DWORD value.
D3DXPT_FLOAT
Parameter is a floating-point value.
D3DXPT_VECTOR
Parameter is a vector.
D3DXPT_MATRIX
Parameter is a 4x4 matrix.
D3DXPT_TEXTURE
Parameter is a texture.
D3DXPT_VERTEXSHADER
Parameter is a vertex shader.
D3DXPT_PIXELSHADER
Parameter is a pixel shader.
D3DXPT_CONSTANT
Parameter is a constant value.
D3DXPT_FORCE_DWORD
Forces this enumeration to compile to 32 bits in size. This value is not used.

Remarks

A four-character code (FOURCC) is a string that is four characters in length. For more information, see Four-Character Codes (FOURCC).

Requirements

  Header: Declared in D3dx8effect.h.

See Also

ID3DXEffect::GetParameterDesc