VertexPositionTexture Structure
Microsoft Silverlight will reach end of support after October 2021. Learn more.
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 | |
---|---|---|
VertexPositionTexture | Initializes a new instance of the VertexPositionTexture class. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Returns a value that indicates whether the current instance is equal to a specified object. (Overrides ValueType.Equals(Object).) | |
GetHashCode | Gets the hash code for this instance. (Overrides ValueType.GetHashCode().) | |
ToString | Retrieves a string representation of this object. (Overrides ValueType.ToString().) |
Top
Operators
Name | Description | |
---|---|---|
Equality | Compares two objects to determine whether they are the same. | |
Inequality | Compares two objects to determine whether they are different. |
Top
Fields
Name | Description | |
---|---|---|
Position | Identifies the Position dependency property. | |
TextureCoordinate | Identifies the TextureCoordinate dependency property. | |
VertexDeclaration | Identifies the VertexDeclaration dependency property. |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
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.