Each index is converted to fixed point, shifted left or right, depending on the value and sign of GL_INDEX_SHIFT, and added to GL_INDEX_OFFSET. Stencil values are read from the stencil buffer. If GL_MAP_COLOR is GL_TRUE, indexes are replaced by their mappings in the table GL_PIXEL_MAP_I_TO_I. The following symbolic values are accepted: ValueĬolor indexes are read from the color buffer selected by glReadBuffer. Width and height parameters of value "1" correspond to a single pixel. Together with the x coordinate, specifies the location of the lower-left corner of a rectangular block of pixels. The window y coordinates of the first pixel that is read from the framebuffer. Together with the y coordinate, specifies the location of the lower-left corner of a rectangular block of pixels. The window x coordinate of the first pixel that is read from the framebuffer. The glReadPixels function reads a block of pixels from the framebuffer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |