Share via


VectorConverter.TryGetVectorType Method (VertexElementFormat, Type)

Note

This method is available only when developing for Windows.

Searches for a managed vector type that corresponds to a GPU vertex format.

Syntax

'Declaration
Public Shared Function TryGetVectorType ( _
         vertexElementFormat As VertexElementFormat, _
         out vectorType As Type _
) As Boolean 
public static bool TryGetVectorType (
         VertexElementFormat vertexElementFormat,
         out Type vectorType
)
public:
static bool TryGetVectorType(
         VertexElementFormat vertexElementFormat,
         out Type vectorType
)

Parameters

Return Value

Type: Boolean
true if a match is found; false otherwise.

Requirements

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics

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

See Also

Reference

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

Platforms

Windows 7, Windows Vista, Windows XP