HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cl::Image2DGL Class Reference

2D image interface for GL interop. More...

#include <cl.hpp>

+ Inheritance diagram for cl::Image2DGL:

Public Member Functions

 Image2DGL (const Context &context, cl_mem_flags flags, GLenum target, GLint miplevel, GLuint texobj, cl_int *err=NULL)
 
 Image2DGL ()
 
 Image2DGL (const Image2DGL &image)
 
 Image2DGL (const cl_mem &image)
 
Image2DGLoperator= (const Image2DGL &rhs)
 
Image2DGLoperator= (const cl_mem &rhs)
 
- Public Member Functions inherited from cl::Image2D
 Image2D (const Context &context, cl_mem_flags flags, ImageFormat format,::size_t width,::size_t height,::size_t row_pitch=0, void *host_ptr=NULL, cl_int *err=NULL)
 
 Image2D ()
 
 Image2D (const Image2D &image2D)
 
 Image2D (const cl_mem &image2D)
 
Image2Doperator= (const Image2D &rhs)
 
Image2Doperator= (const cl_mem &rhs)
 
- Public Member Functions inherited from cl::Image
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
 
- Public Member Functions inherited from cl::Memory
 Memory ()
 
 Memory (const Memory &memory)
 
 Memory (const cl_mem &memory)
 
Memoryoperator= (const Memory &rhs)
 
Memoryoperator= (const cl_mem &rhs)
 
template<typename T >
cl_int getInfo (cl_mem_info name, T *param) const
 
template<cl_int name>
detail::param_traits
< detail::cl_mem_info, name >
::param_type 
getInfo (cl_int *err=NULL) const
 
- Public Member Functions inherited from cl::detail::Wrapper< cl_mem >
 Wrapper ()
 
 Wrapper (const cl_type &obj)
 
 Wrapper (const Wrapper< cl_type > &rhs)
 
 ~Wrapper ()
 
Wrapper< cl_type > & operator= (const Wrapper< cl_type > &rhs)
 
Wrapper< cl_type > & operator= (const cl_type &rhs)
 
cl_type operator() () const
 
cl_typeoperator() ()
 

Additional Inherited Members

- Public Types inherited from cl::detail::Wrapper< cl_mem >
typedef cl_mem cl_type
 
- Protected Member Functions inherited from cl::Image
 Image ()
 
 Image (const Image &image)
 
 Image (const cl_mem &image)
 
Imageoperator= (const Image &rhs)
 
Imageoperator= (const cl_mem &rhs)
 
- Protected Member Functions inherited from cl::detail::Wrapper< cl_mem >
cl_int retain () const
 
cl_int release () const
 
- Protected Attributes inherited from cl::detail::Wrapper< cl_mem >
cl_type object_
 

Detailed Description

2D image interface for GL interop.

Definition at line 2204 of file cl.hpp.

Constructor & Destructor Documentation

cl::Image2DGL::Image2DGL ( const Context context,
cl_mem_flags  flags,
GLenum  target,
GLint  miplevel,
GLuint  texobj,
cl_int err = NULL 
)
inline

Definition at line 2207 of file cl.hpp.

cl::Image2DGL::Image2DGL ( )
inline

Definition at line 2240 of file cl.hpp.

cl::Image2DGL::Image2DGL ( const Image2DGL image)
inline

Definition at line 2242 of file cl.hpp.

cl::Image2DGL::Image2DGL ( const cl_mem image)
inline

Definition at line 2244 of file cl.hpp.

Member Function Documentation

Image2DGL& cl::Image2DGL::operator= ( const Image2DGL rhs)
inline

Definition at line 2246 of file cl.hpp.

Image2DGL& cl::Image2DGL::operator= ( const cl_mem rhs)
inline

Definition at line 2254 of file cl.hpp.


The documentation for this class was generated from the following file: