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.
Gets the corresponding GPU texture format for the specified bitmap type.
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
Syntax
public virtual abstract bool TryGetFormat (
out SurfaceFormat format
)
Parameters
- format
[OutAttribute] Format being compared.
Return Value
true if the bitmap matches format; false otherwise.
See Also
Reference
BitmapContent Class
BitmapContent Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace
Platforms
Windows XP SP2, Windows Vista