TransformableTileLayer.DisplayListItem

Undocumented in source.
class TransformableTileLayer(BMPType = Bitmap16Bit, int TileX = 8, int TileY = 8)
protected
struct DisplayListItem {}

Constructors

this
this(wchar ID, BMPType tile, ubyte paletteSh)
Undocumented in source.

Members

Functions

toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

ID
wchar ID;

ID, mainly used as a padding and secondary identification

palShift
ubyte palShift;

Sets the maximum accessable color amount by the bitmap. By default, for 4 bit bitmaps, it's 4, and it enables 256 * 16 color palettes. This limitation is due to the way how the MappingElement struct works. 8 bit bitmaps can assess the full 256 * 256 palette space. Lower values can be described to avoid wasting palettes space in cases when the bitmaps wouldn't use their full capability. Not used with 16 bit indexed and 32 bit direct color bitmaps.

pixelSrc
void* pixelSrc;

Used for quicker access to the Data

reserved
ubyte reserved;

Padding for 32 bit

tile
BMPType tile;

For reference counting

Meta