D3DMTSS_TCI Values (Windows CE 5.0)
The following table shows macro values that are flags used with the D3DMTSS_TEXCOORDINDEX texture stage state to specify that vertex position and vertex normal data in the camera space should be taken as texture coordinates. The low 16 bits are used to specify texture coordinate index, to take the WRAP mode from.
Value | Description |
---|---|
D3DMTSS_TCI_PASSTHRU | Disables texture coordinate generation. For a given stage, the interpolated texture coordinates from the vertices are used. |
D3DMTSS_TCI_CAMERASPACENORMAL | Uses the vertex normal, transformed to camera space as the vertex's texture coordinates for the given stage. The results will be normalized vectors. |
D3DMTSS_TCI_CAMERASPACEPOSITION | Uses the vertex position, transformed to camera space as the vertex's texture coordinates for the given stage. |
D3DMTSS_TCI_CAMERASPACEREFLECTIONVECTOR | Uses the reflection vector at the vertex as the vertex's texture coordinates for the given stage. The results will be normalized vectors. |
Requirements
OS Versions: Windows CE 5.0 and later.
Header: D3dmtypes.h.
See Also
Send Feedback on this topic to the authors