D3DMFVF_TEXCOORDSIZE Macros (Windows Embedded CE 6.0)
1/6/2010
These macros help specify the number of dimensions of a texture coordinate set when constructing flexible vertex format (FVF) values.
Syntax
#define D3DMFVF_TEXCOORDSIZE1(CoordIndex) (D3DMFVF_TEXCOORDCOUNT1 << \
(CoordIndex*2 + 16))
#define D3DMFVF_TEXCOORDSIZE2(CoordIndex) (D3DMFVF_TEXCOORDCOUNT2)
#define D3DMFVF_TEXCOORDSIZE3(CoordIndex) (D3DMFVF_TEXCOORDCOUNT3 << \
(CoordIndex*2 + 16))
Parameters
- CoordIndex
A value specifying the texture coordinate set in an FVF.
Remarks
Use the D3DMFVF_TEXCOORDSIZE1 macro for one-dimensional coordinate sets, D3DMFVF_TEXCOORDSIZE2 for two-dimensional coordinate sets, and D3DMFVF_TEXCOORDSIZE3 for three-dimensional coordinate sets.
Requirements
Header | d3dmtypes.h |
Windows Embedded CE | Windows CE 5.0 and later |