public unsafe bool GetUnchecked(int x, int y) { int cx = x / 32; int sx = x % 32; uint mask = surface.GetPointAddressUnchecked(cx, y)->Bgra; return 0 != (mask & (1 << sx)); }