Dxt5BitmapContent.TryGetFormat Method
Note
This method is available only when developing for Windows.
Attempts to get the GPU texture format of this bitmap type.
Syntax
'Declaration
Public Overrides Function TryGetFormat ( _
out format As SurfaceFormat _
) As Boolean
public override bool TryGetFormat (
out SurfaceFormat format
)
public:
bool TryGetFormat(
out SurfaceFormat format
) override
Parameters
- format
Type: SurfaceFormat
[OutAttribute] Matching GPU format.
Return Value
Type: Boolean
true if the bitmap matches a GPU format; 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
Dxt5BitmapContent Class
Dxt5BitmapContent Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace
Platforms
Windows 7, Windows Vista, Windows XP