Return the number of images in an image array.

size_t get_image_array_size(aQual image2d_array_t image)

size_t get_image_array_size(aQual image1d_array_t image)

size_t get_image_array_size(aQual image2d_array_depth_t image)

size_t get_image_array_size(image2d_array_msaa_depth_t image)

Description

aQual refers to one of the access qualifiers read_only, write_only, or read_write.

get_image_array_size with image2d_array_t, image2d_array_depth_t, and image2d_array_msaa_depth_t returns the number of images in a 2D image array.

get_image_array_size with image1d_array_t returns the number of images in a 1D image array.

Also see

Specification