Show / Hide Table of Contents

Class DirectBitmap

Inheritance
System.Object
DirectBitmap
DirectBitmap<TColor, TChannel>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AssetRipper.Export.Modules.Textures
Assembly: AssetRipper.Export.Modules.Textures.dll
Syntax
public abstract class DirectBitmap

Constructors

| Improve this Doc View Source

DirectBitmap(Int32, Int32, Int32)

Declaration
protected DirectBitmap(int width, int height, int depth)
Parameters
Type Name Description
System.Int32 width
System.Int32 height
System.Int32 depth
| Improve this Doc View Source

DirectBitmap(Int32, Int32, Int32, Byte[])

Declaration
protected DirectBitmap(int width, int height, int depth, byte[] data)
Parameters
Type Name Description
System.Int32 width
System.Int32 height
System.Int32 depth
System.Byte[] data

Properties

| Improve this Doc View Source

Bits

Declaration
public Span<byte> Bits { get; }
Property Value
Type Description
Span<System.Byte>
| Improve this Doc View Source

ByteSize

Declaration
public int ByteSize { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Data

Declaration
protected byte[] Data { get; }
Property Value
Type Description
System.Byte[]
| Improve this Doc View Source

Depth

Declaration
public int Depth { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Empty

Declaration
public static DirectBitmap Empty { get; }
Property Value
Type Description
DirectBitmap
| Improve this Doc View Source

Height

Declaration
public int Height { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

IsEmpty

Declaration
public bool IsEmpty { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

PixelSize

Declaration
public abstract int PixelSize { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Width

Declaration
public int Width { get; }
Property Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

DeepClone()

Declaration
public abstract DirectBitmap DeepClone()
Returns
Type Description
DirectBitmap
| Improve this Doc View Source

FlipX()

Declaration
public abstract void FlipX()
| Improve this Doc View Source

FlipY()

Declaration
public abstract void FlipY()
| Improve this Doc View Source

GetLayer(Int32)

Declaration
public abstract DirectBitmap GetLayer(int layer)
Parameters
Type Name Description
System.Int32 layer
Returns
Type Description
DirectBitmap
| Improve this Doc View Source

Rotate180()

Declaration
public void Rotate180()
| Improve this Doc View Source

Rotate270()

Declaration
public void Rotate270()
| Improve this Doc View Source

Rotate90()

Declaration
public void Rotate90()
| Improve this Doc View Source

Save(Stream, ImageExportFormat)

Declaration
public void Save(Stream stream, ImageExportFormat format)
Parameters
Type Name Description
Stream stream
ImageExportFormat format
| Improve this Doc View Source

SaveAsBmp(Stream)

Declaration
public abstract void SaveAsBmp(Stream stream)
Parameters
Type Name Description
Stream stream
| Improve this Doc View Source

SaveAsExr(Stream)

Declaration
public abstract void SaveAsExr(Stream stream)
Parameters
Type Name Description
Stream stream
| Improve this Doc View Source

SaveAsHdr(Stream)

Declaration
public abstract void SaveAsHdr(Stream stream)
Parameters
Type Name Description
Stream stream
| Improve this Doc View Source

SaveAsJpeg(Stream)

Declaration
public abstract void SaveAsJpeg(Stream stream)
Parameters
Type Name Description
Stream stream
| Improve this Doc View Source

SaveAsPng(Stream)

Declaration
public abstract void SaveAsPng(Stream stream)
Parameters
Type Name Description
Stream stream
| Improve this Doc View Source

SaveAsTga(Stream)

Declaration
public abstract void SaveAsTga(Stream stream)
Parameters
Type Name Description
Stream stream
| Improve this Doc View Source

Transpose()

Declaration
public abstract void Transpose()
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾