PixelBitmapContent<T>

class PixelBitmapContent<T> : BitmapContent
Type Parameters:
 
  • T
public System.Byte[] GetPixelData()
public void SetPixelData(System.Byte[] sourceData)
Parameters:
  • sourceData (System.Byte[]) –
public Microsoft.Xna.Framework.Content.Pipeline.Graphics.T[] GetRow(int y)
Parameters:
  • y (int) –
public bool TryGetFormat(ref SurfaceFormat format)
Parameters:
  • (ref) format (Microsoft.Xna.Framework.Graphics.SurfaceFormat) –
public Microsoft.Xna.Framework.Content.Pipeline.Graphics.T GetPixel(int x, int y)
Parameters:
  • x (int) –
  • y (int) –
public void SetPixel(int x, int y, Microsoft.Xna.Framework.Content.Pipeline.Graphics.T value)
Parameters:
  • x (int) –
  • y (int) –
  • value (Microsoft.Xna.Framework.Content.Pipeline.Graphics.T) –
public void ReplaceColor(Microsoft.Xna.Framework.Content.Pipeline.Graphics.T originalColor, Microsoft.Xna.Framework.Content.Pipeline.Graphics.T newColor)
Parameters:
  • originalColor (Microsoft.Xna.Framework.Content.Pipeline.Graphics.T) –
  • newColor (Microsoft.Xna.Framework.Content.Pipeline.Graphics.T) –