Class interface for GL Render Buffer Memory Objects. More...
#include <cl.hpp>
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... | |
BufferRenderGL & | operator= (const cl_mem &rhs) |
Assignment from cl_mem - performs shallow copy. More... | |
BufferRenderGL & | operator= (const BufferRenderGL &rhs) |
Copy assignment to forward copy to the superclass correctly. Required for MSVC. More... | |
Class interface for GL Render Buffer Memory Objects.
This is provided to facilitate interoperability with OpenGL.
See Memory for details about copy semantics, etc.
|
inline |
Constructs a BufferRenderGL in a specified context, from a given GL Renderbuffer.
Wraps clCreateFromGLRenderbuffer().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |