TiledBitmap

A TiledBitmap is like a Bitmap but pixels are organized in tiles.

Constructors

this
this(vec2i dimension)

Create with owned memory, dimension is given in tiles

Members

Aliases

element_t
alias element_t = T
Undocumented in source.
tile_t
alias tile_t = T[tileSize]
Undocumented in source.

Functions

get
T get(int i, int j)
Undocumented in source. Be warned that the author may not have intended to support it.
set
void set(int i, int j, T e)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

tileSize
enum tileSize;
Undocumented in source.

Properties

dimension
vec2i dimension [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
height
int height [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
ptr
T* ptr [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
ptr
const(T)* ptr [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
width
int width [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

tiles
Bitmap!tile_t tiles;
Undocumented in source.

Meta