Light | Dark

imageStore

Name

imageStore — write a single texel into an image

Declaration

void imageStore( gimage2D image,
  ivec2 P,
  gvec4 data);
 
void imageStore( gimage3D image,
  ivec3 P,
  gvec4 data);
 
void imageStore( gimageCube image,
  ivec3 P,
  gvec4 data);
 
void imageStore( gimageBuffer image,
  int P,
  gvec4 data);
 
void imageStore( gimage2DArray image,
  ivec3 P,
  gvec4 data);
 
void imageStore( gimageCubeArray image,
  ivec3 P,
  gvec4 data);
 

Parameters

image

Specify the image unit into which to store a texel.

P

Specify the coordinate at which to store the texel.

data

Specifies the data to store into the image.

Description

imageStore stores data into the texel at the coordinate P from the image specified by image. When image and P identify a valid texel, the bits used to represent data are converted to the format of the image unit in the manner described in of the OpenGL ES Specification and stored to the specified texel.

Version Support

OpenGL ES Shading Language Version
Function Name 1.00 3.00 3.10 3.20
imageStore - -
imageStore(gimageBuffer) - - -
imageStore(gimageCubeArray) - - -
Think you can improve this page? Edit this page on GitHub.