Return the number of mip-levels.

int get_image_num_mip_levels(image1d_t image)

int get_image_num_mip_levels(image2d_t image)

int get_image_num_mip_levels(image3d_t image)

int get_image_num_mip_levels(image1d_array_t image)

int get_image_num_mip_levels(image2d_array_t image)

int get_image_num_mip_levels(image2d_depth_t image)

int get_image_num_mip_levels(image2d_array_depth_t image)

Description

Return the number of mip-levels.

This function is enabled by the extension cl_khr_mipmap_image.

Also see

Specification