Class DirectBitmap<TColor, TChannel>
Inheritance
System.Object
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()
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
Methods
|
Improve this Doc
View Source
DeepClone()
Declaration
public override DirectBitmap<TColor, TChannel> DeepClone()
Returns
Overrides
|
Improve this Doc
View Source
FlipX()
Declaration
public override void FlipX()
Overrides
|
Improve this Doc
View Source
FlipY()
Declaration
public override void FlipY()
Overrides
|
Improve this Doc
View Source
GetLayer(Int32)
Declaration
public override DirectBitmap<TColor, TChannel> GetLayer(int layer)
Parameters
Type |
Name |
Description |
System.Int32 |
layer |
|
Returns
Overrides
|
Improve this Doc
View Source
SaveAsBmp(Stream)
Declaration
public override void SaveAsBmp(Stream stream)
Parameters
Type |
Name |
Description |
Stream |
stream |
|
Overrides
|
Improve this Doc
View Source
SaveAsExr(Stream)
Declaration
public override void SaveAsExr(Stream stream)
Parameters
Type |
Name |
Description |
Stream |
stream |
|
Overrides
|
Improve this Doc
View Source
SaveAsHdr(Stream)
Declaration
public override void SaveAsHdr(Stream stream)
Parameters
Type |
Name |
Description |
Stream |
stream |
|
Overrides
|
Improve this Doc
View Source
SaveAsJpeg(Stream)
Declaration
public override void SaveAsJpeg(Stream stream)
Parameters
Type |
Name |
Description |
Stream |
stream |
|
Overrides
|
Improve this Doc
View Source
SaveAsPng(Stream)
Declaration
public override void SaveAsPng(Stream stream)
Parameters
Type |
Name |
Description |
Stream |
stream |
|
Overrides
|
Improve this Doc
View Source
SaveAsTga(Stream)
Declaration
public override void SaveAsTga(Stream stream)
Parameters
Type |
Name |
Description |
Stream |
stream |
|
Overrides
|
Improve this Doc
View Source
Transpose()
Declaration
public override void Transpose()
Overrides