code: public static JCGLTextureFilterMinification textureFilterMinFromGL(
      final int min_filter)
    {
      switch (min_filter) {
        case GL.GL_LINEAR:
          return JCGLTextureFilterMinification.TEXTURE_FILTER_LINEAR;
        case GL.GL_NEAREST:
          return JCGLTextureFilterMinification.TEXTURE_FILTER_NEAREST;
        case GL.GL_LINEAR_MIPMAP_LINEAR:
          return JCGLTextureFilterMinification
            .TEXTURE_FILTER_LINEAR_MIPMAP_LINEAR;
        case GL.GL_LINEAR_MIPMAP_NEAREST:
          return JCGLTextureFilterMinification
            .TEXTURE_FILTER_LINEAR_MIPMAP_NEAREST;
        case GL.GL_NEAREST_MIPMAP_LINEAR:
          return JCGLTextureFilterMinification
            .TEXTURE_FILTER_NEAREST_MIPMAP_LINEAR;
        case GL.GL_NEAREST_MIPMAP_NEAREST:
          return JCGLTextureFilterMinification
            .TEXTURE_FILTER_NEAREST_MIPMAP_NEAREST;
        default:
          throw new UnreachableCodeException();
      }
    }
docs: Convert filters from GL constants.
  
  @param min_filter The GL constant.
  
  @return The value.