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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.