title: glClearBufferData - Usage Example?
body: <pre><code>void glClearBufferData(GLenum target, GLenum internalformat, GLenum format, 
        GLenum type, const void* data);
  </code></pre>
  
  <p>I'm not quite sure how to use this method properly. More specifically the <em>internalformat</em> and <em>format</em> parameters. The <a href="http://www.opengl.org/sdk/docs/man/xhtml/glClearBufferData.xml" rel="noreferrer">official documentation</a> is very vague about what these are, and I'm having trouble finding a list of available targets for these. Are these set targets, or do I need to just to pass a size for the data or something? I also couldn't find any usage examples of this function online... could anyone provide me with one, or perhaps a list of targets?</p>