Share via


D3DMTSS_TCI Values

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/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
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

Direct3D Mobile Macros