Share via


D3DMTSS_TCI Values (Windows Embedded CE 6.0)

1/6/2010

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

Header d3dmtypes.h
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

Direct3D Mobile Macros