D3DMFVF_TEXCOORDSIZE Macros (Windows CE 5.0)

Send Feedback

These macros help specify the number of dimensions of a texture coordinate set when constructing flexible vertex format (FVF) values.

#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

OS Versions: Windows CE 5.0 and later.
Header: D3dmtypes.h.

See Also

Direct3D Mobile Macros | D3DMFVF Values

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.