Download Now

    Reference IBackBuffer

    Declared in Codebot.Render.Graphics.pas on line 615

    IBackBuffer can be used to toggle canvas rendering or flip the buffers.
      IBackBuffer = interface
      public
        { Begin canvas operations and suspend OpenGL calls }
        procedure BeginFrame;
        { End all canvas operations and resume OpenGL calls }
        procedure EndFrame;
        { Switch the front an back buffers while setting the width and height }
        procedure Flip(W, H: Integer);
      end;