X-Git-Url: http://git.hcoop.net/clinton/guile-figl.git/blobdiff_plain/b002944dd992dc5a273e0067504beb48e1ae3d1c..a6a00658f26c164551287799b194cc2f07eb78be:/upstream-doc/manglsl/xhtml/imageLoad.xml diff --git a/upstream-doc/manglsl/xhtml/imageLoad.xml b/upstream-doc/manglsl/xhtml/imageLoad.xml new file mode 100644 index 0000000..0caddc8 --- /dev/null +++ b/upstream-doc/manglsl/xhtml/imageLoad.xml @@ -0,0 +1,31 @@ + + + +
imageLoad â load a single texel from an image
gvec4 imageLoad(
gimage1D image, int P)
;
gvec4 imageLoad(
gimage2D image, ivec2 P)
;
gvec4 imageLoad(
gimage3D image, ivec3 P)
;
gvec4 imageLoad(
gimage2DRect image, ivec2 P)
;
gvec4 imageLoad(
gimageCube image, ivec3 P)
;
gvec4 imageLoad(
gbufferImage image, int P)
;
gvec4 imageLoad( | gimage1DArray  | image, |
 | ivec2  | P) ; |
gvec4 imageLoad( | gimage2DArray  | image, |
 | ivec3  | P) ; |
gvec4 imageLoad( | gimageCubeArray  | image, |
 | ivec3  | P) ; |
gvec4 imageLoad( | gimage2DMS Â | image, |
 | ivec2  | P, |
 | int  | sample) ; |
gvec4 imageLoad( | gimage2DMSArray  | image, |
 | ivec3  | P, |
 | int  | sample) ; |
image
+ Specify the image unit from which to load a texel. +
P
+ Specify the coordinate from which to load the texel. +
sample
+ When present, specifies the sample within the image to load +
+ imageLoad
loads the texel at the coordinate P
from the image
+ unit image
. For multi-sample loads, the sample number is given by sample
. When
+ image
, P
, sample
identify a valid texel, the bits used
+ to represent the selected texel in memory are converted to a vec4, ivec4, or uvec4 in the manner described in the OpenGL
+ Specification and returned.
+
Function | Version 1.10 | Version 1.20 | Version 1.30 | Version 1.40 | Version 1.50 | Version 3.30 | Version 4.00 | Version 4.10 | Version 4.20 | Version 4.30 |
---|---|---|---|---|---|---|---|---|---|---|
imageLoad | - | - | - | - | - | - | - | - | Y | Y |
+ imageStore, + imageAtomicAdd, + imageAtomicMin, + imageAtomicMax, + imageAtomicAnd, + imageAtomicOr, + imageAtomicXor, + imageAtomicExchange, + imageAtomicCompSwap +
+ Copyright © 2011 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/. +