Microsoft DirectX 9.0 SDK Update (October 2004)

TextureCoordinateIndex Enumeration

Language:

Note: This documentation is preliminary and is subject to change.

Defines the supported texture coordinate index values.

Definition

Visual Basic .NET Public Enum TextureCoordinateIndex
C# public enum TextureCoordinateIndex
Managed C++ __value public enum TextureCoordinateIndex
JScript .NET 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.2902.0,  Culture=neutral,  PublicKeyToken=31bf3856ad364e35

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center