コード例 #1
0
 protected override void OnRendering(IHostScreen screen, ref FBO currentFbo)
 {
     currentFbo = _gBuffer.FBO;
     FBO.Bind(currentFbo, FBO.Target.FrameBuffer);
     ElffyGL.Clear(ClearMask.ColorBufferBit | ClearMask.DepthBufferBit);
     _gBuffer.ClearColorBuffers();
 }