次の方法で共有


VertexElement Structure

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

Defines input vertex data to the pipeline.

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

Syntax

'Declaration
Public Structure VertexElement
public struct VertexElement

The VertexElement type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property Offset Gets or sets the offset (if any) from the beginning of the stream to the beginning of the vertex data.
Public property UsageIndex Modifies the usage data to allow the user to specify multiple usage types.
Public property VertexElementFormat Gets or sets the format of this vertex element.
Public property VertexElementUsage Gets or sets a value describing how the vertex element is to be used.

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.