imageStore - write a single texel into an image
Contents
Copyright
Copyright © 2011-2014 Khronos Group
[FIXME: source] 11/18/2024 IMAGESTORE(3G)
Declaration
voidimageStore(gimage1Dimage,intP,gvec4data);voidimageStore(gimage2Dimage,ivec2P,gvec4data);voidimageStore(gimage3Dimage,ivec3P,gvec4data);voidimageStore(gimage2DRectimage,ivec2P,gvec4data);voidimageStore(gimageCubeimage,ivec3P,gvec4data);voidimageStore(gbufferImageimage,intP,gvec4data);voidimageStore(gimage1DArrayimage,ivec2P,gvec4data);voidimageStore(gimage2DArrayimage,ivec3P,gvec4data);voidimageStore(gimageCubeArrayimage,ivec3P,gvec4data);voidimageStore(gimage2DMSimage,ivec2P,intsample,gvec4data);voidimageStore(gimage2DMSArrayimage,ivec3P,intsample,gvec4data);
Description
imageStore stores data into the texel at the coordinate P from the image specified by image. For
multi-sample stores, the sample number is given by sample. When image, P, and sample 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 Specification and stored to the specified texel.
Name
imageStore - write a single texel into an image
Parameters
image
Specify the image unit into which to store a texel.
P
Specify the coordinate at which to store the texel.
sample
When present, specifies the sample within the image to store into.
data
Specifies the data to store into the image.
See Also
imageLoad(), imageAtomicAdd(), imageAtomicMin(), imageAtomicMax(), imageAtomicAnd(), imageAtomicOr(),
imageAtomicXor(), imageAtomicExchange(), imageAtomicCompSwap()
Version Support
┌────────────┬───────────────────────────────────────────────────────────────────────────────────┐
│ │ OpenGLShadingLanguageVersion │
├────────────┼──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┤
│ Function │ 1.10 │ 1.20 │ 1.30 │ 1.40 │ 1.50 │ 3.30 │ 4.00 │ 4.10 │ 4.20 │ 4.30 │ 4.40 │ 4.50 │
│ Name │ │ │ │ │ │ │ │ │ │ │ │ │
├────────────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┤
│ imageStore │ - │ - │ - │ - │ - │ - │ - │ - │ ✔ │ ✔ │ ✔ │ ✔ │
└────────────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┘
