VertexTextureCoordinate Class
.NET Framework 3.0
Constructs bit patterns that are used to identify texture coordinate formats in a flexible vertex format description.
Namespace: Microsoft.WindowsMobile.DirectX.Direct3D
Assembly: Microsoft.WindowsMobile.DirectX (in microsoft.windowsmobile.directx.dll)
Assembly: Microsoft.WindowsMobile.DirectX (in microsoft.windowsmobile.directx.dll)
The following example demonstrates how to use the VertexTextureCoordinate class.
VertexFormats fvf; // The vertex format code for a vertex with a position and one 2-D texture coordinate. fvf = VertexFormats.Position | 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 | VertexFormats.Normal | VertexFormats.Texture2; // The vertex format code for a vertex with a position and two 1-D texture coordinates. fvf = VertexFormats.Position | VertexFormats.Texture2 | VertexTextureCoordinate.Size1(0) | 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 | VertexFormats.Texture2 | VertexTextureCoordinate.Size1(0) | VertexTextureCoordinate.Size1(1) | VertexTextureCoordinate.Fixed(0) | VertexTextureCoordinate.Fixed(1);
System.Object
Microsoft.WindowsMobile.DirectX.Direct3D.BaseMesh
Microsoft.WindowsMobile.DirectX.Direct3D.Resource
Microsoft.WindowsMobile.DirectX.Direct3D.VertexTextureCoordinate
Microsoft.WindowsMobile.DirectX.Direct3D.BaseMesh
Microsoft.WindowsMobile.DirectX.Direct3D.Resource
Microsoft.WindowsMobile.DirectX.Direct3D.VertexTextureCoordinate
Community Additions
ADD
Show: