VectorConverter.TryGetVertexElementFormat Method

Gets the GPU vertex format that corresponds to a managed vector type.

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

Syntax

public static bool TryGetVertexElementFormat (
         Type vectorType,
         out VertexElementFormat vertexElementFormat
)

Parameters

Return Value

true if a match is found; false otherwise.

See Also

Reference

VectorConverter Class
VectorConverter Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace

Platforms

Windows XP SP2, Windows Vista