NxtFormat Class
Definition
Reads and writes headerless 8 by 8 tiles without guessing their bit depth.
c#
public sealed class NxtFormat : TilesFormat<NxtFile>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. |
OneBit | The 1-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(NxtFile, IBinaryWriter) | Writes a strongly typed resource file. |