VectorConverter.TryGetVectorType Method (VertexElementFormat, Type)
Searches for a managed vector type that corresponds to a GPU vertex format.
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
Syntax
public static bool TryGetVectorType (
VertexElementFormat vertexElementFormat,
out Type vectorType
)
Parameters
- vertexElementFormat
Texture format being matched. - vectorType
[OutAttribute] Corresponding managed vector type.
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