Raster.this

Creates a raster with the supplied parameters.

class Raster
public
this
(
ushort x
,
ushort y
,,,
ubyte buffers = 2
)

Parameters

x ushort

Width of the raster.

y ushort

Height of the raster.

paletteLength size_t

The initial size of the palette.

buffers ubyte

The number of buffers to be used. Default is two for double buffering. Single buffering can eliminate occassional flickering and latency at the possibility of screen tearing and having to wait for the buffer to be finished.

Meta