private void UpdateCharBuffer() { CharBuffer = new CharInfo[ScreenSize.x * ScreenSize.y]; DepthBuffer = new float[ScreenSize.x]; bufferRect = new SmallRect() { Left = 0, Top = 0, Right = (short)ScreenSize.x, Bottom = (short)ScreenSize.y }; }
private static extern bool WriteConsoleOutput( SafeFileHandle hConsoleOutput, CharInfo[] lpBuffer, Coord dwBufferSize, Coord dwBufferCoord, ref SmallRect lpWriteRegion);