table of contents
IMAGEATOMICAND(3G) | [FIXME: manual] | IMAGEATOMICAND(3G) |
NAME¶
imageAtomicAnd - atomically compute the logical AND of a value with an existing value in memory, store that value and return the original valueDECLARATION¶
uint imageAtomicAnd(gimage1D image, int P, uint data);
uint imageAtomicAnd(gimage2D image, ivec2 P, uint data);
uint imageAtomicAnd(gimage3D image, ivec3 P, uint data);
uint imageAtomicAnd(gimage2DRect image, ivec2 P, uint data);
uint imageAtomicAnd(gimageCube image, ivec3 P, uint data);
uint imageAtomicAnd(gbufferImage image, int P, uint data);
uint imageAtomicAnd(gimage1DArray image, ivec2 P, uint data);
uint imageAtomicAnd(gimage2DArray image, ivec3 P, uint data);
uint imageAtomicAnd(gimageCubeArray image, ivec3 P, uint data);
uint imageAtomicAnd(gimage2DMS image, ivec2 P, int sample, uint data);
uint imageAtomicAnd(gimage2DMSArray image, ivec3 P, int sample, uint data);
int imageAtomicAnd(gimage1D image, int P, int data);
int imageAtomicAnd(gimage2D image, ivec2 P, int data);
int imageAtomicAnd(gimage3D image, ivec3 P, int data);
int imageAtomicAnd(gimage2DRect image, ivec2 P, int data);
int imageAtomicAnd(gimageCube image, ivec3 P, int data);
int imageAtomicAnd(gbufferImage image, int P, int data);
int imageAtomicAnd(gimage1DArray image, ivec2 P, int data);
int imageAtomicAnd(gimage2DArray image, ivec3 P, int data);
int imageAtomicAnd(gimageCubeArray image, ivec3 P, int data);
int imageAtomicAnd(gimage2DMS image, ivec2 P, int sample, int data);
int imageAtomicAnd(gimage2DMSArray image, ivec3 P, int sample, int data);
PARAMETERS¶
imageP
sample
data
DESCRIPTION¶
imageAtomicAnd atomically computes a new value by logically ANDing the value of data to the contents of the texel at coordinate P and sample in the image bound to uint image, stores that value into the image and returns the original value.VERSION SUPPORT¶
OpenGL Shading Language Version | ||||||||||||
Function Name | 1.10 | 1.20 | 1.30 | 1.40 | 1.50 | 3.30 | 4.00 | 4.10 | 4.20 | 4.30 | 4.40 | 4.50 |
imageAtomicAnd | - | - | - | - | - | - | - | - | ✔ | ✔ | ✔ | ✔ |
SEE ALSO¶
imageLoad(), imageStore(), imageAtomicAdd(), imageAtomicMin(), imageAtomicMax(), imageAtomicOr(), imageAtomicXor(), imageAtomicExchange(), imageAtomicCompSwap()COPYRIGHT¶
Copyright © 2011-2014 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/.COPYRIGHT¶
Copyright © 2011-2014 Khronos Group01/03/2018 | [FIXME: source] |