Etc1BitmapContent Class (Microsoft.Xna.Framework.Content.Pipeline.Graphics)

Supports the processing of a texture compressed using ETC1.
System.Object
   Microsoft.Xna.Framework.Content.Pipeline.ContentItem
      Microsoft.Xna.Framework.Content.Pipeline.Graphics.BitmapContent
         Microsoft.Xna.Framework.Content.Pipeline.Graphics.Etc1BitmapContent

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public class Etc1BitmapContent : BitmapContent

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The Etc1BitmapContent type exposes the following members.

  Platforms Name Description
Etc1BitmapContent() Initializes a new instance of Etc1BitmapContent. 
Etc1BitmapContent(int, int) Initializes a new instance of Etc1BitmapContent with the specified width or height. 
Top
  Platforms Name Description
Height Gets or sets the height of the bitmap, in pixels. (Inherited from BitmapContent.)
Identity Gets or sets the identity of the content item. (Inherited from ContentItem.)
Name Gets or sets the name of the content item. (Inherited from ContentItem.)
OpaqueData Gets the opaque data of the content item. (Inherited from ContentItem.)
Width Gets or sets the width of the bitmap, in pixels. (Inherited from BitmapContent.)
Top
  Platforms Name Description
Copy(BitmapContent, BitmapContent) Copies one bitmap into another. The destination bitmap can be in any format and size. If the destination is larger or smaller, the source bitmap is scaled accordingly. (Inherited from BitmapContent.)
Copy(BitmapContent, Rectangle, BitmapContent, Rectangle) Copies one bitmap into another. The destination bitmap can be in any format and size. If the destination is larger or smaller, the source bitmap is scaled accordingly. (Inherited from BitmapContent.)
GetPixelData Reads encoded bitmap content. (Overrides BitmapContent.GetPixelData().)
SetPixelData Writes encoded bitmap content. (Overrides BitmapContent.SetPixelData().)
ToString Returns a string description of the bitmap. (Overrides BitmapContent.ToString().)
TryCopyFrom Attempts to copy a region from a specified bitmap. (Overrides BitmapContent.TryCopyFrom().)
TryCopyTo Attempts to copy a region of the specified bitmap onto another. (Overrides BitmapContent.TryCopyTo().)
TryGetFormat Gets the corresponding GPU texture format for the specified bitmap type. (Overrides BitmapContent.TryGetFormat().)
ValidateCopyArguments Validates the arguments to the Copy function. (Inherited from BitmapContent.)
Top
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop