Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
This method is available only when developing for Windows.
Gets the GPU vertex format that corresponds to a managed vector type.
Syntax
'Declaration
Public Shared Function TryGetVertexElementFormat ( _
vectorType As Type, _
out vertexElementFormat As VertexElementFormat _
) As Boolean
public static bool TryGetVertexElementFormat (
Type vectorType,
out VertexElementFormat vertexElementFormat
)
public:
static bool TryGetVertexElementFormat(
Type vectorType,
out VertexElementFormat vertexElementFormat
)
Parameters
vectorType
Type: TypeCan be one of the following:
vertexElementFormat
Type: VertexElementFormat
[OutAttribute] Corresponding vertex element type.
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