Example #1
0
 public void FramebufferRenderbuffer(GLFramebufferTarget target, GLFramebufferAttachment attachment, GLRenderbufferTarget renderbuffertarget, GLRenderbufferHandle renderbuffer)
 {
     GL.FramebufferRenderbuffer(
         (FramebufferTarget)target,
         (FramebufferAttachment)attachment,
         (RenderbufferTarget)renderbuffertarget, (int)renderbuffer);
 }
Example #2
0
 public void BindFramebuffer(GLFramebufferTarget target, GLFramebufferHandle fb)
 {
     //if (!AppDomain.CurrentDomain.IsDefaultAppDomain())
     //	System.Diagnostics.Debug.WriteLine(AppDomain.CurrentDomain.FriendlyName + " bound " + fb);
     _currentFramebufferBinding = fb;
     GL.BindFramebuffer((FramebufferTarget)target, (int)fb);
 }
Example #3
0
 public void FramebufferTexture2D(GLFramebufferTarget target, GLFramebufferAttachment attachment, GLTextureTarget textarget, GLTextureHandle texture, int level)
 {
     GL.FramebufferTexture2D(
         (FramebufferTarget)target,
         (FramebufferAttachment)attachment,
         (TextureTarget)textarget, (int)texture, level);
 }
Example #4
0
 public void FramebufferTexture2D(GLFramebufferTarget target, GLFramebufferAttachment attachment, GLTextureTarget textarget, GLTextureHandle texture, int level)
 {
     try
     {
         this.BeginFunc();
         this._gl.FramebufferTexture2D(target, attachment, textarget, texture, level);
     }
     finally
     {
         this.EndFunc();
     }
 }
Example #5
0
 public void BindFramebuffer(GLFramebufferTarget target, GLFramebufferHandle fb)
 {
     try
     {
         this.BeginFunc();
         this._gl.BindFramebuffer(target, fb);
     }
     finally
     {
         this.EndFunc();
     }
 }
Example #6
0
 public void FramebufferRenderbuffer(GLFramebufferTarget target, GLFramebufferAttachment attachment, GLRenderbufferTarget renderbuffertarget, GLRenderbufferHandle renderbuffer)
 {
     try
     {
         this.BeginFunc();
         this._gl.FramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer);
     }
     finally
     {
         this.EndFunc();
     }
 }
Example #7
0
 public GLFramebufferStatus CheckFramebufferStatus(GLFramebufferTarget target)
 {
     try
     {
         this.BeginFunc();
         return(this._gl.CheckFramebufferStatus(target));
     }
     finally
     {
         this.EndFunc();
     }
 }
Example #8
0
File: GL.cs Project: mortend/uno
 public void BindFramebuffer(GLFramebufferTarget target, GLFramebufferHandle fb)
 {
     _currentFramebufferBinding = fb;
     TKGL.BindFramebuffer((FramebufferTarget)target, (int)fb);
 }
Example #9
0
File: GL.cs Project: mortend/uno
 public GLFramebufferStatus CheckFramebufferStatus(GLFramebufferTarget target)
 {
     return((GLFramebufferStatus)TKGL.CheckFramebufferStatus((FramebufferTarget)target));
 }
Example #10
0
File: GL.cs Project: yongaru/uno
 public static void FramebufferRenderbuffer(GLFramebufferTarget target, GLFramebufferAttachment attachment, GLRenderbufferTarget renderbuffertarget, GLRenderbufferHandle renderbuffer)
 {
     GL._gl.FramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer);
 }
Example #11
0
 public void FramebufferTexture2D(GLFramebufferTarget target, GLFramebufferAttachment attachment, GLTextureTarget textarget, GLTextureHandle texture, int level)
 {
 }
Example #12
0
File: GL.cs Project: yongaru/uno
 public static GLFramebufferStatus CheckFramebufferStatus(GLFramebufferTarget target)
 {
     return(GL._gl.CheckFramebufferStatus(target));
 }
Example #13
0
File: GL.cs Project: yongaru/uno
 public static void BindFramebuffer(GLFramebufferTarget target, GLFramebufferHandle fb)
 {
     GL._gl.BindFramebuffer(target, fb);
 }
Example #14
0
 public GLFramebufferStatus CheckFramebufferStatus(GLFramebufferTarget target)
 {
     return(GLFramebufferStatus.FramebufferUnsupported);
 }
Example #15
0
 public void FramebufferRenderbuffer(GLFramebufferTarget target, GLFramebufferAttachment attachment, GLRenderbufferTarget renderbuffertarget, GLRenderbufferHandle renderbuffer)
 {
 }
Example #16
0
File: GL.cs Project: yongaru/uno
 public static void FramebufferTexture2D(GLFramebufferTarget target, GLFramebufferAttachment attachment, GLTextureTarget textarget, GLTextureHandle texture, int level)
 {
     GL._gl.FramebufferTexture2D(target, attachment, textarget, texture, level);
 }
Example #17
0
 public void BindFramebuffer(GLFramebufferTarget target, GLFramebufferHandle fb)
 {
 }