Example #1
0
 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
     };
 }
Example #2
0
 private static extern bool WriteConsoleOutput(
     SafeFileHandle hConsoleOutput,
     CharInfo[] lpBuffer,
     Coord dwBufferSize,
     Coord dwBufferCoord,
     ref SmallRect lpWriteRegion);