BindTexture() private method

private BindTexture ( uint target, uint texture ) : void
target uint
texture uint
return void
Beispiel #1
0
 /// <summary>
 ///
 /// </summary>
 public void Unbind()
 {
     //OpenGL.BindTexture(OpenGL.GL_TEXTURE_2D, 0);
     OpenGL.BindTexture(this.Target, 0);
 }
Beispiel #2
0
 public void Unbind()
 {
     OpenGL.BindTexture(OpenGL.GL_TEXTURE_2D, 0);
 }
Beispiel #3
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);
        }
Beispiel #4
0
        } // end sub

        #endregion

        public void Bind()
        {
            OpenGL.BindTexture(OpenGL.GL_TEXTURE_2D, this.id[0]);
        }