SprFormat Class
Definition
Reads and writes headerless 16 by 16 sprite patterns without guessing their bit depth.
public sealed class SprFormat : TilesFormat<SprFile>
Fields
| Name | Description |
|---|---|
EightBit |
The 8-bit format; callers must select the intended interpretation explicitly. |
FourBit |
The 4-bit format; callers must select the intended interpretation explicitly. |
Properties
| Name | Description |
|---|---|
BitsPerPixel |
Gets the bit depth used to interpret the headerless file. |
Methods
| Name | Description |
|---|---|
ForBitsPerPixel(Int32) |
Gets the singleton for the specified bit depth. |
ReadAsync(IBinaryReader) |
|
WriteAsync(SprFile, IBinaryWriter) |