Interface PixelRectangle

    • Method Detail

      • hashCode

        int hashCode()

        Computes a hash code over:

        • pixelformat
        • size
        • stride
        • isGLOriented
        • pixels

        The hashCode shall be computed only once with first call and stored for later retrieval to enhance performance.

        Overrides:
        hashCode in class Object
      • isGLOriented

        boolean isGLOriented()
        Returns true if the memory is laid out in OpenGL's coordinate system, origin at bottom left. Otherwise returns false, i.e. origin at top left.
      • getPixels

        ByteBuffer getPixels()
        Returns the pixels.