glShaderStorageBlockBinding

glShaderStorageBlockBinding: man4/glShaderStorageBlockBinding.xml

glShaderStorageBlockBinding, changes the active shader storage block with an assigned index of storageBlockIndex in program object program. storageBlockIndex must be an active shader storage block index in program. storageBlockBinding must be less than the value of GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS. If successful, glShaderStorageBinding specifies that program will use the data store of the buffer object bound to the binding point storageBlockBinding to read and write the values of the buffer variables in the shader storage block identified by storageBlockIndex.

@OpenGL_Version(OGLIntroducedIn.V4P3)
@OpenGL_Extension("GL_ARB_shader_storage_buffer_object")
fn_glShaderStorageBlockBinding glShaderStorageBlockBinding;

See Also

Meta