title: glClearBuffer* clarification
body: <p>I currently use <code>glClearBuffer*</code> functions to clear draw buffers in a project running in OpenGL ES 3.0. The <a href="https://www.khronos.org/opengles/sdk/docs/man3/html/glClearBuffer.xhtml" rel="nofollow">glClearBuffer documentation</a> states the following:</p>
  
  <blockquote>
    <p>The <strong>glClearBufferfv</strong>, <strong>glClearBufferiv</strong>, and <strong>glClearBufferuiv</strong> commands should be used to clear fixed-point, signed integer, and unsigned integer color buffers respectively.</p>
  </blockquote>
  
  <p>Am I right to understand it as follow:</p>
  
  <p>Use <code>glClearBufferfv</code> if draw buffer is <code>GL_FLOAT</code> type<br>
  Use <code>glClearBufferiv</code> if draw buffer is <code>GL_INT</code> type<br>
  Use <code>glClearBufferuiv</code> if draw buffer is <code>GL_UNSIGNED_INT</code> type  </p>
  
  <p>Is that correct? I'm asking because there is no mention (from what I can tell) about the proper way to clear a draw buffer of other types, such as <code>GL_BYTE</code> and <code>GL_UNSIGNED_BYTE</code>.</p>
  
  <p>Thanks!</p>