Share via


TextureCoordinateIndex Enumeration (Microsoft.DirectX.Direct3D)

Defines the supported texture coordinate index values.

Definition

Visual Basic Public Enum TextureCoordinateIndex
C# public enum TextureCoordinateIndex
C++ public enum class TextureCoordinateIndex
JScript public enum TextureCoordinateIndex

Members

Member Value Description
SphereMap 262144 Uses the specified texture coordinates for sphere mapping.
CameraSpaceReflectionVector 196608 Uses the reflection vector, transformed to camera space, as the input texture coordinate for the current stage's texture transformation. The reflection vector is computed from the input vertex position and normal vector.
CameraSpacePosition 131072 Uses the vertex position, transformed to camera space, as the input texture coordinates for the current stage's texture transformation.
CameraSpaceNormal 65536 Uses the vertex normal, transformed to camera space, as the input texture coordinates for the current stage's texture transformation.
PassThru 0 Uses the specified texture coordinates contained in the vertex format. This value resolves to 0.

Remarks

This enumeration is used by the TextureStateManager.TextureCoordinateIndex property.

Enumeration Information

Namespace Microsoft.DirectX.Direct3D
Assembly Microsoft.DirectX.Direct3D (microsoft.directx.direct3d.dll)
Strong Name Microsoft.DirectX.Direct3D,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492