/** * Sets the OpenGL multi-floating-point 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 setTexParameterfv(int parameterName, float[] params, int params_offset) { bind(); GL gl = GLU.getCurrentGL(); gl.glTexParameterfv(target, parameterName, params, params_offset); }
/** * Sets the OpenGL multi-floating-point 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 setTexParameterfv(int parameterName, FloatBuffer params) { bind(); GL gl = GLU.getCurrentGL(); gl.glTexParameterfv(target, parameterName, params); }