VectorConverter.TryGetVectorType Method (SurfaceFormat, Type)
Searches for a managed vector type that corresponds to a GPU texture 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 (
SurfaceFormat surfaceFormat,
out Type vectorType
)
Parameters
- surfaceFormat
Surface format being compared. - 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