Пример #1
0
 public void DeleteTexture(GLTextureHandle texture)
 {
     try
     {
         this.BeginFunc();
         this._gl.DeleteTexture(texture);
     }
     finally
     {
         this.EndFunc();
     }
 }
Пример #2
0
 public void BindTexture(GLTextureTarget target, GLTextureHandle texture)
 {
     try
     {
         this.BeginFunc();
         this._gl.BindTexture(target, texture);
     }
     finally
     {
         this.EndFunc();
     }
 }
Пример #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();
     }
 }
Пример #4
0
Файл: GL.cs Проект: mortend/uno
 public void BindTexture(GLTextureTarget target, GLTextureHandle texture)
 {
     TKGL.BindTexture((TextureTarget)target, (int)texture);
 }
Пример #5
0
Файл: GL.cs Проект: mortend/uno
 public void FramebufferTexture2D(GLFramebufferTarget target, GLFramebufferAttachment attachment, GLTextureTarget textarget, GLTextureHandle texture, int level)
 {
     TKGL.FramebufferTexture2D((FramebufferTarget)target, (FramebufferAttachment)attachment, TextureTarget2d.Texture2D, (int)texture, level);
 }
Пример #6
0
Файл: GL.cs Проект: yongaru/uno
 public static void DeleteTexture(GLTextureHandle texture)
 {
     GL._gl.DeleteTexture(texture);
 }
Пример #7
0
Файл: GL.cs Проект: mortend/uno
 public void DeleteTexture(GLTextureHandle texture)
 {
     DisposeAndRemoveObject(_textures, (int)texture);
 }
Пример #8
0
Файл: GL.cs Проект: yongaru/uno
 public static void BindTexture(GLTextureTarget target, GLTextureHandle texture)
 {
     GL._gl.BindTexture(target, texture);
 }
Пример #9
0
Файл: GL.cs Проект: yongaru/uno
 public static void FramebufferTexture2D(GLFramebufferTarget target, GLFramebufferAttachment attachment, GLTextureTarget textarget, GLTextureHandle texture, int level)
 {
     GL._gl.FramebufferTexture2D(target, attachment, textarget, texture, level);
 }
Пример #10
0
 public void BindTexture(GLTextureTarget target, GLTextureHandle texture)
 {
 }
Пример #11
0
 public void DeleteTexture(GLTextureHandle texture)
 {
 }
Пример #12
0
 public void FramebufferTexture2D(GLFramebufferTarget target, GLFramebufferAttachment attachment, GLTextureTarget textarget, GLTextureHandle texture, int level)
 {
 }