PixelBitmapContent<T> Class (Microsoft.Xna.Framework.Content.Pipeline.Graphics)

System.Object
   Microsoft.Xna.Framework.Content.Pipeline.ContentItem
      Microsoft.Xna.Framework.Content.Pipeline.Graphics.BitmapContent
         Microsoft.Xna.Framework.Content.Pipeline.Graphics.PixelBitmapContent<T>

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 PixelBitmapContent<T> : BitmapContent where T : IEquatable<T>, ValueType, new()

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The PixelBitmapContent<T> type exposes the following members.

  Platforms Name Description
PixelBitmapContent<T> Initializes a new instance of BitmapContent 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.)
GetPixel  
GetPixelData Reads encoded bitmap content. (Overrides BitmapContent.GetPixelData().)
GetRow  
ReplaceColor  
SetPixel  
SetPixelData Writes encoded bitmap content. (Overrides BitmapContent.SetPixelData().)
ToString Returns a string description of the bitmap resource. (Inherited from BitmapContent.)
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