#include <cl.hpp>
Public Member Functions | |
Image3DGL (const Context &context, cl_mem_flags flags, GLenum target, GLint miplevel, GLuint texobj, cl_int *err=NULL) | |
Image3DGL () | |
Image3DGL (const Image3DGL &image) | |
Image3DGL (const cl_mem &image) | |
Image3DGL & | operator= (const Image3DGL &rhs) |
Image3DGL & | operator= (const cl_mem &rhs) |
cl::Image3DGL::Image3DGL | ( | const Context & | context, |
cl_mem_flags | flags, | ||
GLenum | target, | ||
GLint | miplevel, | ||
GLuint | texobj, | ||
cl_int * | err = NULL |
||
) | [inline] |
Definition at line 2501 of file cl.hpp.
{ cl_int error; object_ = ::clCreateFromGLTexture3D( context(), flags, target, miplevel, texobj, &error); detail::errHandler(error, __CREATE_GL_TEXTURE_3D_ERR); if (err != NULL) { *err = error; } }
cl::Image3DGL::Image3DGL | ( | ) | [inline] |
cl::Image3DGL::Image3DGL | ( | const Image3DGL & | image | ) | [inline] |
cl::Image3DGL::Image3DGL | ( | const cl_mem & | image | ) | [inline] |
Definition at line 2530 of file cl.hpp.
{ if (this != &rhs) { Image3D::operator=(rhs); } return *this; }
Image3DGL& cl::Image3DGL::operator= | ( | const cl_mem & | rhs | ) | [inline] |
Reimplemented from cl::Image3D.
Definition at line 2538 of file cl.hpp.
{ Image3D::operator=(rhs); return *this; }