?/TD> |
Microsoft DirectX 9.0 |
Defines the sampler texture types for vertex shaders.
Syntax
typedef enum _D3DSAMPLER_TEXTURE_TYPE { D3DSTT_UNKNOWN, D3DSTT_1D, D3DSTT_2D, D3DSTT_CUBE, D3DSTT_VOLUME, D3DSTT_FORCE_DWORD } D3DSAMPLER_TEXTURE_TYPE;
Constants
- D3DSTT_UNKNOWN
Uninitialized value. The value of this element is D3DSP_TEXTURETYPE_SHIFT.
- D3DSTT_1D
Declaring a 1-D texture. The value of this element is D3DSP_TEXTURETYPE_SHIFT * 2.
- D3DSTT_2D
Declaring a 2-D texture. The value of this element is D3DSP_TEXTURETYPE_SHIFT * 4.
- D3DSTT_CUBE
Declaring a cube texture. The value of this element is D3DSP_TEXTURETYPE_SHIFT * 8.
- D3DSTT_VOLUME
Declaring a volume texture. The value of this element is D3DSP_TEXTURETYPE_SHIFT * 16.
- D3DSTT_FORCE_DWORD
Force 32-bit size enum. The value of this element is 0x7fffffff.
Enumerated Type Information
Header d3d9types.h Minimum operating systems Windows 98