Creates a PBO at
target
(generally
GL_PIXEL_PACK_BUFFER
or GL_PIXEL_UNPACK_BUFFER), with storage for
allocationSize
bytes, and filled with data
data
if it is not NULL.
GLuint
getBindingConstantForTarget (GLenum target)
Returns the appropriate parameter to glGetIntegerv() for a specific target; ie GL_ARRAY_BUFFER -> GL_ARRAY_BUFFER_BINDING. Returns 0 on failure.