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

Memory buffer interface for GL interop with renderbuffer. More...

#include <cl.hpp>

+ Inheritance diagram for cl::BufferRenderGL:

Public Member Functions

 BufferRenderGL (const Context &context, cl_mem_flags flags, GLuint bufobj, cl_int *err=NULL)
 
 BufferRenderGL ()
 
 BufferRenderGL (const BufferGL &buffer)
 
 BufferRenderGL (const cl_mem &buffer)
 
BufferRenderGLoperator= (const BufferRenderGL &rhs)
 
BufferRenderGLoperator= (const cl_mem &rhs)
 
cl_int getObjectInfo (cl_gl_object_type *type, GLuint *gl_object_name)
 
- Public Member Functions inherited from cl::Buffer
 Buffer (const Context &context, cl_mem_flags flags,::size_t size, void *host_ptr=NULL, cl_int *err=NULL)
 
 Buffer ()
 
 Buffer (const Buffer &buffer)
 
 Buffer (const cl_mem &buffer)
 
Bufferoperator= (const Buffer &rhs)
 
Bufferoperator= (const cl_mem &rhs)
 
- 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::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

Memory buffer interface for GL interop with renderbuffer.

Definition at line 2038 of file cl.hpp.

Constructor & Destructor Documentation

cl::BufferRenderGL::BufferRenderGL ( const Context context,
cl_mem_flags  flags,
GLuint  bufobj,
cl_int *  err = NULL 
)
inline

Definition at line 2041 of file cl.hpp.

cl::BufferRenderGL::BufferRenderGL ( )
inline

Definition at line 2060 of file cl.hpp.

cl::BufferRenderGL::BufferRenderGL ( const BufferGL buffer)
inline

Definition at line 2062 of file cl.hpp.

cl::BufferRenderGL::BufferRenderGL ( const cl_mem buffer)
inline

Definition at line 2064 of file cl.hpp.

Member Function Documentation

cl_int cl::BufferRenderGL::getObjectInfo ( cl_gl_object_type type,
GLuint gl_object_name 
)
inline

Definition at line 2080 of file cl.hpp.

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

Definition at line 2066 of file cl.hpp.

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

Definition at line 2074 of file cl.hpp.


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