Base class interface for all images. More...
#include <cl.hpp>
Public Member Functions | |
template<typename T > | |
cl_int | getImageInfo (cl_image_info name, T *param) const |
template<cl_int name> | |
detail::param_traits < detail::cl_image_info, name > ::param_type | getImageInfo (cl_int *err=NULL) const |
Protected Member Functions | |
Image () | |
Image (const Image &image) | |
Image (const cl_mem &image) | |
Image & | operator= (const Image &rhs) |
Image & | operator= (const cl_mem &rhs) |
cl::Image::Image | ( | ) | [inline, protected] |
cl::Image::Image | ( | const Image & | image | ) | [inline, protected] |
cl::Image::Image | ( | const cl_mem & | image | ) | [inline, protected] |
cl_int cl::Image::getImageInfo | ( | cl_image_info | name, |
T * | param | ||
) | const [inline] |
Definition at line 2327 of file cl.hpp.
{ return detail::errHandler( detail::getInfo(&::clGetImageInfo, object_, name, param), __GET_IMAGE_INFO_ERR); }
detail::param_traits<detail::cl_image_info, name>::param_type cl::Image::getImageInfo | ( | cl_int * | err = NULL | ) | const [inline] |
Definition at line 2336 of file cl.hpp.
{ typename detail::param_traits< detail::cl_image_info, name>::param_type param; cl_int result = getImageInfo(name, ¶m); if (err != NULL) { *err = result; } return param; }
Definition at line 2311 of file cl.hpp.
{ if (this != &rhs) { Memory::operator=(rhs); } return *this; }
Image& cl::Image::operator= | ( | const cl_mem & | rhs | ) | [inline, protected] |
Reimplemented from cl::Memory.
Reimplemented in cl::Image3DGL, cl::Image3D, cl::Image2DGL, and cl::Image2D.
Definition at line 2319 of file cl.hpp.
{ Memory::operator=(rhs); return *this; }