glBindImageTexture

bind a level of a texture to an image unit

Signature

glBindImageTexture( GLuint ( unit ) , GLuint ( texture ) , GLint ( level ) , GLboolean ( layered ) , GLint ( layer ) , GLenum ( access ) , GLenum ( format ) )-> void
glBindImageTexture( unit , texture , level , layered , layer , access , format )
glBindImageTextures( first , count , textures )

Parameters

VariablesDescription
unit
Specifies the index of the image unit to which to bind the texture
texture
Specifies the name of the texture to bind to the image unit.
level
Specifies the level of the texture that is to be bound.
layered
Specifies whether a layered texture binding is to be established.
layer
If layered is GL_FALSE , specifies the layer of texture to be bound to the image unit. Ignored otherwise.
access
Specifies a token indicating the type of access that will be performed on the image.
format
Specifies the format that the elements of the image will be treated as for the purposes of formatted stores.