code: public static JCGLUsageHint usageHintFromGL(
      final int hint)
    {
      switch (hint) {
        case GL2ES3.GL_DYNAMIC_COPY:
          return JCGLUsageHint.USAGE_DYNAMIC_COPY;
        case GL.GL_DYNAMIC_DRAW:
          return JCGLUsageHint.USAGE_DYNAMIC_DRAW;
        case GL2ES3.GL_DYNAMIC_READ:
          return JCGLUsageHint.USAGE_DYNAMIC_READ;
        case GL2ES3.GL_STATIC_COPY:
          return JCGLUsageHint.USAGE_STATIC_COPY;
        case GL.GL_STATIC_DRAW:
          return JCGLUsageHint.USAGE_STATIC_DRAW;
        case GL2ES3.GL_STATIC_READ:
          return JCGLUsageHint.USAGE_STATIC_READ;
        case GL2ES3.GL_STREAM_COPY:
          return JCGLUsageHint.USAGE_STREAM_COPY;
        case GL2ES2.GL_STREAM_DRAW:
          return JCGLUsageHint.USAGE_STREAM_DRAW;
        case GL2ES3.GL_STREAM_READ:
          return JCGLUsageHint.USAGE_STREAM_READ;
        default:
          throw new UnreachableCodeException();
      }
    }
docs: Convert hints from GL constants.
  
  @param hint The GL constant.
  
  @return The value.