Built-in functions to read, write, and query image memory objects. Click an item in the table below for details about that function.
|
Do an element lookup in the 1D image object with or without a sampler, returning floating-point values (including optional mipmap support). |
|
Do an element lookup in the 1D image object with or without a sampler, returning unnormalized signed integer and unsigned integer values (including optional mipmap support). |
|
OPTIONAL function to do an element lookup in the 1D image object with or without a sampler, returning floating-point values.
Enabled with |
write_image {f|i|ui|h} for 1D |
Write |
|
Do an element lookup in the 2D image object with or without a sampler, returning floating-point values (including optional mipmap support). |
|
Do an element lookup in the 2D image object with or without a sampler, returning unnormalized signed integer and unsigned integer values (including optional mipmap support). |
|
OPTIONAL function to do an element lookup in the 2D image object with or without a sampler, returning floating-point values.
Enabled with |
write_image {f|i|ui|h} for 2D |
Write |
|
Do an element lookup in the 3D image object with or without a sampler, returning floating-point values (including optional mipmap support). |
|
Do an element lookup in the 3D image object with or without a sampler, returning unnormalized signed integer and unsigned integer values (including optional mipmap support). |
|
OPTIONAL function to do an element lookup in the 3D image object with or without a sampler, returning floating-point values.
Enabled with |
write_image {f|i|ui|h} for 3D |
Write |
Return the image width in pixels |
|
Return the image height in pixels. |
|
Return the 3D image depth in pixels |
|
Return the image channel data type |
|
Return the image channel order |
|
Return the image dimensions |
|
Return the number of images in an image array |
|
Return the number of mip-levels.
Enabled with extension |
|
Return the number of samples in the 2D MSAA image.
Enabled with extension |