VertexPositionTexture Structure

Describes a custom vertex format structure that contains position and one set of texture coordinates.

Namespace:  Microsoft.Xna.Framework.Graphics
Assembly:  Microsoft.Xna.Framework.Graphics.Extensions (in Microsoft.Xna.Framework.Graphics.Extensions.dll)

Syntax

'Declaration
Public Structure VertexPositionTexture _
    Implements IVertexType
public struct VertexPositionTexture : IVertexType

The VertexPositionTexture type exposes the following members.

Constructors

  Name Description
Public method VertexPositionTexture Initializes a new instance of the VertexPositionTexture class.

Top

Methods

  Name Description
Public method Equals Returns a value that indicates whether the current instance is equal to a specified object. (Overrides ValueType.Equals(Object).)
Public method GetHashCode Gets the hash code for this instance. (Overrides ValueType.GetHashCode().)
Public method ToString Retrieves a string representation of this object. (Overrides ValueType.ToString().)

Top

Operators

  Name Description
Public operatorStatic member Equality Compares two objects to determine whether they are the same.
Public operatorStatic member Inequality Compares two objects to determine whether they are different.

Top

Fields

  Name Description
Public field Position Identifies the Position dependency property.
Public field TextureCoordinate Identifies the TextureCoordinate dependency property.
Public fieldStatic member VertexDeclaration Identifies the VertexDeclaration dependency property.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate property IVertexType.VertexDeclaration Gets a vertex declaration.

Top

Version Information

Silverlight

Supported in: 5

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.