Function Dds.getPixel

Get a specifix pixel casted into a struct T. Size of T must match bytes per pixel.

ref T getPixel(T) (
  in size_t x,
  in size_t y,
  uint mipmap = 0
);