glGetHistogram

Get histogram table

C Specification

void glGetHistogram(GLenum    target,                                GLboolean reset,                                GLenum    format,                                GLenum    type,                                GLvoid *  values);

Parameters

Image

Description

glGetHistogram returns the current histogram table as a one-dimensional image with the same width as the histogram. No pixel transfer operations are performed on this image, but pixel storage modes that are applicable to 1D images are honored.

If a nonzero named buffer object is bound to the GL_PIXEL_PACK_BUFFER target (see glBindBuffer) while ...

Get OpenGL SuperBible: Comprehensive Tutorial and Reference, Fourth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.