DirectView

Mixin which implements view primitives on top of existing direct view primitives.

Members

Aliases

COLOR
alias COLOR = Unqual!(typeof(StorageType.init[0]))
Undocumented in source.
StorageType
alias StorageType = Unqual!(typeof(scanline(0)[0]))
Undocumented in source.

Functions

opIndex
inout(COLOR) opIndex(xy_t x, xy_t y)

Implements the view[x, y] operator.

opIndex
Row opIndex(xy_t y)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndexAssign
COLOR opIndexAssign(COLOR value, xy_t x, xy_t y)

Implements the view[x, y] = c operator.

Structs

Row
struct Row

Allows array-like viewyx access.

Meta