Sdílet prostřednictvím


Dxt5BitmapContent.TryGetFormat Method

Attempts to get the GPU texture format of this bitmap type.

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

Syntax

public override bool TryGetFormat (
         out SurfaceFormat format
)

Parameters

Return Value

true if the bitmap matches a GPU format; false otherwise.

See Also

Reference

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

Platforms

Windows XP SP2, Windows Vista