• Allegro

    Fast gets pixel 24 bit

    Parameters

    • bmp: undefined | BITMAP

      bitmap object to poll

    • x: number

      x coordinate of pixel

    • y: number

      y coordinate of pixel

    Returns number

    colour in 0xAARRGGBB format or -1 if it is out of bounds

    1.14.5

    Remarks

    Reads pixel from bitmap at given coordinates. This is probably super slow, and shouldn't be used inside loops. This is not actually fast

Generated using TypeDoc