Exemplo n.º 1
0
 /// <summary>
 /// Blimey's initilisation rountine.
 /// </summary>
 public virtual void Start(Platform platform)
 {
     fps = new FpsHelper();
     frameBuffer = new FrameBufferHelper(platform.Graphics);
     engine = new Engine (platform);
     sceneManager = new SceneManager(platform, engine, startScene);
 }
 static byte[] Execute(GameWindow window)
 {
     GL.ClearColor(Color4.Gray);
     GL.Clear(ClearBufferMask.ColorBufferBit);
     return(FrameBufferHelper.ToByteArray(0, 0, res, res));
 }