glGetBufferParameteriv

return parameters of a buffer object

Signature

glGetBufferParameteriv( GLenum ( target ) , GLenum ( value ) , GLint * ( data ) )-> void
glGetBufferParameteriv( target , pname , params )

Parameters

VariablesDescription
target
Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER , GL_ELEMENT_ARRAY_BUFFER , GL_PIXEL_PACK_BUFFER , or GL_PIXEL_UNPACK_BUFFER .
value
Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS , GL_BUFFER_MAPPED , GL_BUFFER_SIZE , or GL_BUFFER_USAGE .
data
Returns the requested parameter.