/**
  * Sets the OpenGL multi-integer texture parameter for the texture's target. Causes this texture
  * to be bound to the current texture state.
  *
  * @throws GLException if no OpenGL context was current or if any OpenGL-related errors occurred
  */
 public void setTexParameteriv(int parameterName, int[] params, int params_offset) {
   bind();
   GL gl = GLU.getCurrentGL();
   gl.glTexParameteriv(target, parameterName, params, params_offset);
 }
 /**
  * Sets the OpenGL multi-integer texture parameter for the texture's target. Causes this texture
  * to be bound to the current texture state.
  *
  * @throws GLException if no OpenGL context was current or if any OpenGL-related errors occurred
  */
 public void setTexParameteriv(int parameterName, IntBuffer params) {
   bind();
   GL gl = GLU.getCurrentGL();
   gl.glTexParameteriv(target, parameterName, params);
 }