DirectView

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

Members

Aliases

COLOR
alias COLOR = typeof(scanline(0)[0])
Undocumented in source.

Functions

opIndex
COLOR opIndex(int x, int y)

Implements the view[x, y] operator.

opIndex
auto opIndex(int y)

Allows array-like viewyx access.

opIndexAssign
COLOR opIndexAssign(COLOR value, int x, int y)

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

Meta