imageLoad — load a single texel from an image
gvec4 imageLoad(
|
gimage2D image, |
ivec2 P) ; |
gvec4 imageLoad(
|
gimage3D image, |
ivec3 P) ; |
gvec4 imageLoad(
|
gimageCube image, |
ivec3 P) ; |
gvec4 imageLoad(
|
gimage2DArray image, |
ivec3 P) ; |
image
Specify the image unit from which to load a texel.
P
Specify the coordinate from which to load the texel.
imageLoad
loads the texel at the coordinate P
from the image
unit image
. When
image
and P
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.
OpenGL ES Shading Language Version | |||
---|---|---|---|
Function Name | 1.00 | 3.00 | 3.10 |
imageLoad
|
- | - | ✔ |
Copyright © 2011-2015 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. https://opencontent.org/openpub/.