glShaderStorageBlockBinding man page on RedHat

Man page or keyword search:  
man Server   29550 pages
apropos Keyword Search (all sections)
Output format
RedHat logo
[printable version]

GLSHADERSTORAGEBLOCK(3G)	 OpenGL Manual	      GLSHADERSTORAGEBLOCK(3G)

NAME
       glShaderStorageBlockBinding - change an active shader storage block
       binding

C SPECIFICATION
       void glShaderStorageBlockBinding(GLuint program,
					GLuint storageBlockIndex,
					GLuint storageBlockBinding);

PARAMETERS
       program
	   The name of the program containing the block whose binding to
	   change.

       storageBlockIndex
	   The index storage block within the program.

       storageBlockBinding
	   The index storage block binding to associate with the specified
	   storage block.

DESCRIPTION
       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.

ERRORS
       GL_INVALID_VALUE is generated if attribindex is greater than or equal
       to the value of GL_MAX_VERTEX_ATTRIBS.

       GL_INVAILD_VALUE is generated if bindingindex is greater than or equal
       to the value of GL_MAX_VERTEX_ATTRIB_BINDINGS.

       GL_INVALID_OPERATION is generated if no vertex array object is bound.

ASSOCIATED GETS
       glGet() with arguments GL_SHADER_STORAGE_BUFFER_BINDING,
       GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS,
       GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS,
       GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS,
       GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS,
       GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS,
       GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS,
       GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS or
       GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS,
       GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS, or
       GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES.

COPYRIGHT
       Copyright © 2012 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/.

AUTHORS
       opengl.org

opengl.org			  03/16/2013	      GLSHADERSTORAGEBLOCK(3G)
[top]

List of man pages available for RedHat

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net