public void DeleteTexture(GLTextureHandle texture) { try { this.BeginFunc(); this._gl.DeleteTexture(texture); } finally { this.EndFunc(); } }
public void BindTexture(GLTextureTarget target, GLTextureHandle texture) { try { this.BeginFunc(); this._gl.BindTexture(target, texture); } finally { this.EndFunc(); } }
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(); } }
public void BindTexture(GLTextureTarget target, GLTextureHandle texture) { TKGL.BindTexture((TextureTarget)target, (int)texture); }
public void FramebufferTexture2D(GLFramebufferTarget target, GLFramebufferAttachment attachment, GLTextureTarget textarget, GLTextureHandle texture, int level) { TKGL.FramebufferTexture2D((FramebufferTarget)target, (FramebufferAttachment)attachment, TextureTarget2d.Texture2D, (int)texture, level); }
public static void DeleteTexture(GLTextureHandle texture) { GL._gl.DeleteTexture(texture); }
public void DeleteTexture(GLTextureHandle texture) { DisposeAndRemoveObject(_textures, (int)texture); }
public static void BindTexture(GLTextureTarget target, GLTextureHandle texture) { GL._gl.BindTexture(target, texture); }
public static void FramebufferTexture2D(GLFramebufferTarget target, GLFramebufferAttachment attachment, GLTextureTarget textarget, GLTextureHandle texture, int level) { GL._gl.FramebufferTexture2D(target, attachment, textarget, texture, level); }
public void BindTexture(GLTextureTarget target, GLTextureHandle texture) { }
public void DeleteTexture(GLTextureHandle texture) { }
public void FramebufferTexture2D(GLFramebufferTarget target, GLFramebufferAttachment attachment, GLTextureTarget textarget, GLTextureHandle texture, int level) { }