Beispiel #1
0
 public Texture(string textureName)
 {
     identifier       = Gl.GenTextures();
     this.textureName = textureName;
 }
Beispiel #2
0
 public override void Bind()
 {
     CurrentlyBound = this;
     Gl.BindTexture(GL_TEXTURE_2D, identifier);
 }