Move RGBA image contract to model
This commit is contained in:
4
engine/Age.Engine/Model/RgbaImage.cs
Normal file
4
engine/Age.Engine/Model/RgbaImage.cs
Normal file
@@ -0,0 +1,4 @@
|
||||
namespace Age.Engine.Model;
|
||||
|
||||
/// <summary>A decoded, tightly packed, top-down RGBA8 image.</summary>
|
||||
public sealed record RgbaImage(int Width, int Height, byte[] Pixels);
|
||||
Reference in New Issue
Block a user