Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
A version of this page is also available for
4/8/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 |
| Windows Mobile | Windows Mobile Version 5.0 and later |