SprFormat Class
Definition
Reads and writes headerless 16 by 16 sprite patterns without guessing their bit depth.
c#
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) | Reads a file from an IBinaryReader. |
WriteAsync(SprFile, IBinaryWriter) | Writes a strongly typed resource file. |