Surface.setPixelAt

Sets the pixel value in the dsdl2.Surface at the given coordinate

class Surface
@trusted
void
setPixelAt
(
uint[2] xy
,
uint value
)

Parameters

xy uint[2]

X and Y values of the coordinate

value uint

pixel value to set at the given coordinate

Meta