Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: get color for a given x , y using RGBA

  1. #1
    Junior Member Newbie
    Join Date
    Jan 2004
    Location
    amman
    Posts
    3

    get color for a given x , y using RGBA

    hi, how can i get the color for a given x ,y in the window ?? is there any function that could do this ???

  2. #2
    Junior Member Regular Contributor
    Join Date
    May 2003
    Location
    Germany
    Posts
    232

    Re: get color for a given x , y using RGBA

    glReadPixels is what you're looking for.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •