private static extern void SetRenderingResolutionImpl(IntPtr nativeDisplay, int w, int h);
public void SetRenderingResolution(int w, int h) { Display.SetRenderingResolutionImpl(this.nativeDisplay, w, h); }