Return the number of samples in the 2D MSAA image.

int get_image_num_samples(image2d_msaa_t image)

int get_image_num_samples(image2d_array_msaa_t image)

int get_image_num_samples(image2d_msaa_depth_t image)

int get_image_num_samples(image2d_array_msaa_depth_t image)

Description

Return the number of samples in the 2D MSAA image. This requires the cl_khr_gl_msaa_sharing extension.

Also see

Specification