This documentation is archived and is not being maintained.
VertexTextureCoordinate Class
Visual Studio 2008
Constructs bit patterns that are used to identify texture coordinate formats in a flexible vertex format description.
Assembly: Microsoft.WindowsMobile.DirectX (in Microsoft.WindowsMobile.DirectX.dll)
The following example demonstrates how to use the VertexTextureCoordinate class.
Dim fvf As VertexFormats ' The vertex format code for a vertex with a position and one 2-D texture coordinate. fvf = VertexFormats.Position Or VertexFormats.Texture1 ' The vertex format code for a vertex with a position, a vertex normal vector, ' and two 2-D texture coordinates. fvf = VertexFormats.Position Or VertexFormats.Normal Or VertexFormats.Texture2 ' The vertex format code for a vertex with a position and two 1-D texture coordinates. fvf = VertexFormats.Position Or VertexFormats.Texture2 Or VertexTextureCoordinate.Size1(0) Or VertexTextureCoordinate.Size1(1) ' The vertex format code for a vertex with a position and two 1-D texture coordinates with fixed point data. fvf = VertexFormats.PositionFixed Or VertexFormats.Texture2 Or VertexTextureCoordinate.Size1(0) Or VertexTextureCoordinate.Size1(1) Or VertexTextureCoordinate.Fixed(0) Or VertexTextureCoordinate.Fixed(1)
Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: