?/TD>
Microsoft DirectX 9.0

D3DXPARAMETER_TYPE Enumerated Type


Describes the data contained by the enumeration.

Syntax

typedef enum _D3DXPARAMETER_TYPE {
    D3DXPT_VOID,
    D3DXPT_BOOL,
    D3DXPT_INT,
    D3DXPT_FLOAT,
    D3DXPT_STRING,
    D3DXPT_TEXTURE,
    D3DXPT_TEXTURE2D,
    D3DXPT_TEXTURE3D,
    D3DXPT_TEXTURECUBE,
    D3DXPT_SAMPLER,
    D3DXPT_SAMPLER2D,
    D3DXPT_SAMPLER3D,
    D3DXPT_SAMPLERCUBE,
    D3DXPT_PIXELSHADER,
    D3DXPT_VERTEXSHADER,
    D3DXPT_PIXELFRAGMENT,
    D3DXPT_VERTEXFRAGMENT,
    D3DXPT_FORCE_DWORD = 0x7fffffff
} D3DXPARAMETER_TYPE;

Constants

D3DXPT_VOID

Parameter is a void pointer.

D3DXPT_BOOL

Parameter is a Boolean.

D3DXPT_INT

Parameter is an integer.

D3DXPT_FLOAT

Parameter is a floating-point number.

D3DXPT_STRING

Parameter is a string.

D3DXPT_TEXTURE

Parameter is a texture.

D3DXPT_TEXTURE2D

Parameter is a 2-D texture.

D3DXPT_TEXTURE3D

Parameter is a 3-D texture.

D3DXPT_TEXTURECUBE

Parameter is a cube texture.

D3DXPT_SAMPLER

Parameter is a sampler.

D3DXPT_SAMPLER2D

Parameter is a 2-D sampler.

D3DXPT_SAMPLER3D

Parameter is a 3-D sampler.

D3DXPT_SAMPLERCUBE

Parameter is a cube sampler.

D3DXPT_PIXELSHADER

Parameter is a pixel shader.

D3DXPT_VERTEXSHADER

Parameter is a vertex shader.

D3DXPT_PIXELFRAGMENT

Parameter is a pixel shader fragment.

D3DXPT_VERTEXFRAGMENT

Parameter is a vertex shader fragment.

D3DXPT_FORCE_DWORD

Forces this enumeration to compile to 32 bits in size. This value is not used.

Enumerated Type Information

Headerd3dx9effect.h
Minimum operating systems Windows 98

See Also

D3DXSHADER_TYPEINFO, D3DXCONSTANT_DESC


© 2002 Microsoft Corporation. All rights reserved.