[][src]Function opencl3::memory::get_image_info

pub fn get_image_info(
    image: *mut c_void,
    param_name: ImageInfo
) -> Result<InfoType, i32>

Get information specific to an OpenCL image object.
Calls clGetImageInfo to get the desired information about the image object.

  • image - the OpenCL image object.
  • param_name - the type of memory object information being queried, see: Image Object Info.

returns a Result containing the desired information in an InfoType enum or the error code from the OpenCL C API function.