glGetNamedBufferParameteriv

glGetBufferParameter: man4/glGetBufferParameter.xml

These functions return in data a selected parameter of the specified buffer object. pname names a specific buffer object parameter, as follows:

If an error is generated, no change is made to the contents of data. The GL_ATOMIC_COUNTER_BUFFER target is available only if the GL version is 4.2 or greater. The GL_DISPATCH_INDIRECT_BUFFER and GL_SHADER_STORAGE_BUFFER targets are available only if the GL version is 4.3 or greater. The GL_QUERY_BUFFER target is available only if the GL version is 4.4 or greater.

@OpenGL_Version(OGLIntroducedIn.V4P5)
@OpenGL_Extension("GL_ARB_direct_state_access")
fn_glGetNamedBufferParameteriv glGetNamedBufferParameteriv;

See Also

glBindBuffer, glBufferData, glGetBufferPointerv, glMapBuffer, glUnmapBuffer

Meta