glResetHistogram(3x)

glResetHistogram3x

Reset histogram table entries to zero

C specification

void glResetHistogram( GLenum target )


    


    

Parameters

target

Must be GL_HISTOGRAM.

Overview

glResetHistogram resets all the elements of the current histogram table to zero.

Notes

glResetHistogram is present only if GL_ARB_imaging is returned when glGetString is called with an argument of GL_EXTENSIONS.

Errors

GL_INVALID_ENUM is generated if target is not GL_HISTOGRAM.

GL_INVALID_OPERATION is generated if glResetHistogram is executed between the execution of glBegin and the corresponding execution of glEnd.

From xlibmesa-gl-dev 4.3.0.dfsg.1-14sarge7 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.