Public Member Functions | List of all members
cl::BufferRenderGL Class Reference

Class interface for GL Render Buffer Memory Objects. More...

#include <cl.hpp>

Inheritance diagram for cl::BufferRenderGL:
Inheritance graph
[legend]

Public Member Functions

 BufferRenderGL (const Context &context, cl_mem_flags flags, cl_GLuint bufobj, cl_int *err=NULL)
 Constructs a BufferRenderGL in a specified context, from a given GL Renderbuffer. More...
 
 BufferRenderGL ()
 Default constructor - initializes to NULL. More...
 
__CL_EXPLICIT_CONSTRUCTORS BufferRenderGL (const cl_mem &buffer)
 Constructor from cl_mem - takes ownership. More...
 
 BufferRenderGL (const BufferRenderGL &buf)
 Copy constructor to forward copy to the superclass correctly. Required for MSVC. More...
 
cl_int getObjectInfo (cl_gl_object_type *type, cl_GLuint *gl_object_name)
 Wrapper for clGetGLObjectInfo(). More...
 
BufferRenderGLoperator= (const cl_mem &rhs)
 Assignment from cl_mem - performs shallow copy. More...
 
BufferRenderGLoperator= (const BufferRenderGL &rhs)
 Copy assignment to forward copy to the superclass correctly. Required for MSVC. More...
 

Detailed Description

Class interface for GL Render Buffer Memory Objects.

This is provided to facilitate interoperability with OpenGL.

See Memory for details about copy semantics, etc.

See also
Memory

Definition at line 4495 of file cl.hpp.

Constructor & Destructor Documentation

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

Constructs a BufferRenderGL in a specified context, from a given GL Renderbuffer.

Wraps clCreateFromGLRenderbuffer().

Definition at line 4508 of file cl.hpp.

cl::BufferRenderGL::BufferRenderGL ( )
inline

Default constructor - initializes to NULL.

Definition at line 4531 of file cl.hpp.

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

Constructor from cl_mem - takes ownership.

See Memory for further details.

Definition at line 4541 of file cl.hpp.

cl::BufferRenderGL::BufferRenderGL ( const BufferRenderGL buf)
inline

Copy constructor to forward copy to the superclass correctly. Required for MSVC.

Definition at line 4566 of file cl.hpp.

Member Function Documentation

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

Wrapper for clGetGLObjectInfo().

Definition at line 4609 of file cl.hpp.

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

Assignment from cl_mem - performs shallow copy.

See Memory for further details.

Definition at line 4549 of file cl.hpp.

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

Copy assignment to forward copy to the superclass correctly. Required for MSVC.

Definition at line 4572 of file cl.hpp.


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


kinect2_registration
Author(s):
autogenerated on Wed Jan 3 2018 03:48:04