glBindBuffer, glBufferSubData, glMapBuffer, glUnmapBuffer
Copyright© 2014 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.
Page generated by adrdox
glBufferStorage: man4/glBufferStorage.xml
glBufferStorage and glNamedBufferStorage create a new immutable data store. For glBufferStorage, the buffer object currently bound to target will be initialized. For glNamedBufferStorage, buffer is the name of the buffer object that will be configured. The size of the data store is specified by size. If an initial data is available, its address may be supplied in data. Otherwise, to create an uninitialized data store, data should be null. The flags parameters specifies the intended usage of the buffer's data store. It must be a bitwise combination of a subset of the following flags: The allowed combinations of flags are subject to certain restrictions. They are as follows:
glBufferStorage is available only if the GL version is 4.4 or greater. glNamedBufferStorage is available only if the GL version is 4.5 or greater. If data is null, a data store of the specified size is still created, but its contents remain uninitialized and thus undefined.