Exemple #1
0
 public void DeleteTexture(GLTextureHandle texture)
 {
     try
     {
         this.BeginFunc();
         this._gl.DeleteTexture(texture);
     }
     finally
     {
         this.EndFunc();
     }
 }
Exemple #2
0
 public void BindTexture(GLTextureTarget target, GLTextureHandle texture)
 {
     try
     {
         this.BeginFunc();
         this._gl.BindTexture(target, texture);
     }
     finally
     {
         this.EndFunc();
     }
 }
Exemple #3
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();
     }
 }
Exemple #4
0
 public void BindTexture(GLTextureTarget target, GLTextureHandle texture)
 {
     TKGL.BindTexture((TextureTarget)target, (int)texture);
 }
Exemple #5
0
 public void FramebufferTexture2D(GLFramebufferTarget target, GLFramebufferAttachment attachment, GLTextureTarget textarget, GLTextureHandle texture, int level)
 {
     TKGL.FramebufferTexture2D((FramebufferTarget)target, (FramebufferAttachment)attachment, TextureTarget2d.Texture2D, (int)texture, level);
 }
Exemple #6
0
 public static void DeleteTexture(GLTextureHandle texture)
 {
     GL._gl.DeleteTexture(texture);
 }
Exemple #7
0
 public void DeleteTexture(GLTextureHandle texture)
 {
     DisposeAndRemoveObject(_textures, (int)texture);
 }
Exemple #8
0
 public static void BindTexture(GLTextureTarget target, GLTextureHandle texture)
 {
     GL._gl.BindTexture(target, texture);
 }
Exemple #9
0
 public static void FramebufferTexture2D(GLFramebufferTarget target, GLFramebufferAttachment attachment, GLTextureTarget textarget, GLTextureHandle texture, int level)
 {
     GL._gl.FramebufferTexture2D(target, attachment, textarget, texture, level);
 }
Exemple #10
0
 public void BindTexture(GLTextureTarget target, GLTextureHandle texture)
 {
 }
Exemple #11
0
 public void DeleteTexture(GLTextureHandle texture)
 {
 }
Exemple #12
0
 public void FramebufferTexture2D(GLFramebufferTarget target, GLFramebufferAttachment attachment, GLTextureTarget textarget, GLTextureHandle texture, int level)
 {
 }