Example #1
0
 /// <summary>
 /// </summary>
 public GLESFBORTTManager()
     : base()
 {
     LogManager.Instance.Write("FBO CTOR ENTER");
     this._renderBuffer = new Dictionary <RBFormat, RBRef>();
     TemporaryFBO       = 0;
     DetectFBOFormats();
     OpenGLOES.GenFramebuffers(1, ref this._tempFbo);
     GLESConfig.GlCheckError(this);
     LogManager.Instance.Write("FBO CTOR EXIT");
 }
Example #2
0
 /// <summary>
 /// </summary>
 /// <param name="manager"> </param>
 /// <param name="fsaa"> </param>
 public GLESFrameBufferObject(GLESFBORTTManager manager, int fsaa)
 {
     /// Generate framebuffer object
     OpenGLOES.GenFramebuffers(1, ref this._fb);
     GLESConfig.GlCheckError(this);
     this._depth   = new GLESSurfaceDescription();
     this._stencil = new GLESSurfaceDescription();
     for (int x = 0; x < Configuration.Config.MaxMultipleRenderTargets; x++)
     {
         this._color[x] = new GLESSurfaceDescription();
     }
 }