Show / Hide Table of Contents

Class DirectBitmap<TColor, TChannel>

Inheritance
System.Object
DirectBitmap
DirectBitmap<TColor, TChannel>
Inherited Members
DirectBitmap.Empty
DirectBitmap.Height
DirectBitmap.Width
DirectBitmap.Depth
DirectBitmap.ByteSize
DirectBitmap.Bits
DirectBitmap.Data
DirectBitmap.IsEmpty
DirectBitmap.Rotate90()
DirectBitmap.Rotate180()
DirectBitmap.Rotate270()
DirectBitmap.Save(Stream, ImageExportFormat)
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 sealed class DirectBitmap<TColor, TChannel> : DirectBitmap where TColor : struct, IColor<TChannel> where TChannel : struct
Type Parameters
Name Description
TColor
TChannel

Constructors

| Improve this Doc View Source

DirectBitmap(Int32, Int32, Int32)

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

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

Declaration
public 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

Pixels

Declaration
public Span<TColor> Pixels { get; }
Property Value
Type Description
Span<TColor>
| Improve this Doc View Source

PixelSize

Declaration
public override int PixelSize { get; }
Property Value
Type Description
System.Int32
Overrides
DirectBitmap.PixelSize

Methods

| Improve this Doc View Source

DeepClone()

Declaration
public override DirectBitmap<TColor, TChannel> DeepClone()
Returns
Type Description
DirectBitmap<TColor, TChannel>
Overrides
DirectBitmap.DeepClone()
| Improve this Doc View Source

FlipX()

Declaration
public override void FlipX()
Overrides
DirectBitmap.FlipX()
| Improve this Doc View Source

FlipY()

Declaration
public override void FlipY()
Overrides
DirectBitmap.FlipY()
| Improve this Doc View Source

GetLayer(Int32)

Declaration
public override DirectBitmap<TColor, TChannel> GetLayer(int layer)
Parameters
Type Name Description
System.Int32 layer
Returns
Type Description
DirectBitmap<TColor, TChannel>
Overrides
DirectBitmap.GetLayer(Int32)
| Improve this Doc View Source

SaveAsBmp(Stream)

Declaration
public override void SaveAsBmp(Stream stream)
Parameters
Type Name Description
Stream stream
Overrides
DirectBitmap.SaveAsBmp(Stream)
| Improve this Doc View Source

SaveAsExr(Stream)

Declaration
public override void SaveAsExr(Stream stream)
Parameters
Type Name Description
Stream stream
Overrides
DirectBitmap.SaveAsExr(Stream)
| Improve this Doc View Source

SaveAsHdr(Stream)

Declaration
public override void SaveAsHdr(Stream stream)
Parameters
Type Name Description
Stream stream
Overrides
DirectBitmap.SaveAsHdr(Stream)
| Improve this Doc View Source

SaveAsJpeg(Stream)

Declaration
public override void SaveAsJpeg(Stream stream)
Parameters
Type Name Description
Stream stream
Overrides
DirectBitmap.SaveAsJpeg(Stream)
| Improve this Doc View Source

SaveAsPng(Stream)

Declaration
public override void SaveAsPng(Stream stream)
Parameters
Type Name Description
Stream stream
Overrides
DirectBitmap.SaveAsPng(Stream)
| Improve this Doc View Source

SaveAsTga(Stream)

Declaration
public override void SaveAsTga(Stream stream)
Parameters
Type Name Description
Stream stream
Overrides
DirectBitmap.SaveAsTga(Stream)
| Improve this Doc View Source

Transpose()

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