Share via


VertexPositionColorTexture Structure

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Describes a custom vertex format structure that contains position, color, 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 VertexPositionColorTexture _
    Implements IVertexType
public struct VertexPositionColorTexture : IVertexType

The VertexPositionColorTexture type exposes the following members.

Constructors

  Name Description
Public method VertexPositionColorTexture Initializes a new instance of the VertexPositionColorTexture 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 the same.

Top

Fields

  Name Description
Public field Color Identifies the Color dependency property.
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.