OpenCL C++ Wrapper API 1.1
 All Classes Namespaces Files Functions Variables Typedefs Defines
Public Member Functions
cl::Image3DGL Class Reference

#include <cl.hpp>

Inheritance diagram for cl::Image3DGL:
cl::Image3D cl::Image cl::Memory cl::detail::Wrapper< cl_mem >

List of all members.

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)
Image3DGLoperator= (const Image3DGL &rhs)
Image3DGLoperator= (const cl_mem &rhs)

Detailed Description

Definition at line 2498 of file cl.hpp.


Constructor & Destructor Documentation

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;
        }
    }

Definition at line 2524 of file cl.hpp.

: Image3D() { }
cl::Image3DGL::Image3DGL ( const Image3DGL image) [inline]

Definition at line 2526 of file cl.hpp.

: Image3D(image) { }
cl::Image3DGL::Image3DGL ( const cl_mem &  image) [inline]

Definition at line 2528 of file cl.hpp.

: Image3D(image) { }

Member Function Documentation

Image3DGL& cl::Image3DGL::operator= ( const Image3DGL rhs) [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;
    }

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Defines