private BindTexture ( uint target, uint texture ) : void | ||
target | uint | |
texture | uint | |
Результат | void |
/// <summary> /// /// </summary> public void Unbind() { //OpenGL.BindTexture(OpenGL.GL_TEXTURE_2D, 0); OpenGL.BindTexture(this.Target, 0); }
public void Unbind() { OpenGL.BindTexture(OpenGL.GL_TEXTURE_2D, 0); }
///// <summary> ///// ///// </summary> //public bool UseMipmap { get; private set; } /// <summary> /// /// </summary> public void Bind() { OpenGL.BindTexture(this.Target, this.Id); //this.SamplerBuilder.Bind(OpenGL.GL_TEXTURE0 - OpenGL.GL_TEXTURE0, this.Target); }
} // end sub #endregion public void Bind() { OpenGL.BindTexture(OpenGL.GL_TEXTURE_2D, this.id[0]); }