Image interface for 3D images. More...
#include <cl.hpp>
Public Member Functions | |
Image3D (const Context &context, cl_mem_flags flags, ImageFormat format,::size_t width,::size_t height,::size_t depth,::size_t row_pitch=0,::size_t slice_pitch=0, void *host_ptr=NULL, cl_int *err=NULL) | |
Image3D () | |
Image3D (const Image3D &image3D) | |
Image3D (const cl_mem &image3D) | |
Image3D & | operator= (const Image3D &rhs) |
Image3D & | operator= (const cl_mem &rhs) |
cl::Image3D::Image3D | ( | const Context & | context, |
cl_mem_flags | flags, | ||
ImageFormat | format, | ||
::size_t | width, | ||
::size_t | height, | ||
::size_t | depth, | ||
::size_t | row_pitch = 0 , |
||
::size_t | slice_pitch = 0 , |
||
void * | host_ptr = NULL , |
||
cl_int * | err = NULL |
||
) | [inline] |
Definition at line 2451 of file cl.hpp.
{ cl_int error; object_ = ::clCreateImage3D( context(), flags, &format, width, height, depth, row_pitch, slice_pitch, host_ptr, &error); detail::errHandler(error, __CREATE_IMAGE3D_ERR); if (err != NULL) { *err = error; } }
cl::Image3D::Image3D | ( | ) | [inline] |
cl::Image3D::Image3D | ( | const Image3D & | image3D | ) | [inline] |
cl::Image3D::Image3D | ( | const cl_mem & | image3D | ) | [inline] |
Definition at line 2480 of file cl.hpp.
{ if (this != &rhs) { Image::operator=(rhs); } return *this; }
Image3D& cl::Image3D::operator= | ( | const cl_mem & | rhs | ) | [inline] |
Reimplemented from cl::Image.
Reimplemented in cl::Image3DGL.
Definition at line 2488 of file cl.hpp.
{ Image::operator=(rhs); return *this; }