Function Surface.setPixelAt

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

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

Parameters

NameDescription
xy X and Y values of the coordinate
value pixel value to set at the given coordinate