TextureProcessorOutputFormat Enumeration (Microsoft.Xna.Framework.Content.Pipeline.Processors)
Specifies the target output (of type SurfaceFormat) of the texture processor. Used by TextureProcessor.TextureFormat.
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Processors
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
- C#
- VB
- F#
public enum TextureProcessorOutputFormat
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
The TextureProcessorOutputFormat type exposes the following members.
Platforms | Name | Description | |
---|---|---|---|
AtcCompressed | The input texture is compressed using ATI texture compression. Used on some Android platforms. | ||
Color | The SurfaceFormat value, of the input TextureContent object, is converted to Color by the processor. Typically used for 2D graphics and overlays. | ||
Color16Bit | The pixel depth of the input texture is reduced to BGR565 for opaque textures, otherwise it uses BGRA4444. | ||
Compressed | The SurfaceFormat value, of the input TextureContent object, is converted to an appropriate compressed format for the target platform. This can include PVRTC for iOS, DXT for desktop, Windows 8 and Windows Phone 8, and ETC1 or BGRA4444 for Android. | ||
DxtCompressed | The SurfaceFormat value, of the input TextureContent object, is converted to an appropriate DXT compression by the processor. If the input texture contains fractional alpha values, it is converted to DXT5 format (8 bits per texel); otherwise it is converted to DXT1 (4 bits per texel). This conversion reduces the resource's size on the graphics card. Typically used for 3D textures such as 3D model textures. | ||
Etc1Compressed | The input texture is compressed using ETC1 texture compression. Used on Android platforms. | ||
NoChange | The SurfaceFormat value, of the input TextureContent object, is not changed by the processor. Typically used for textures processed by an external tool. | ||
PvrCompressed | The input texture is compressed using PVR texture compression. Used on iOS and some Android platforms. |
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows DirectX Desktop
Linux Desktop