cl::BufferRenderGL Class Reference

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

`#include <cl.hpp>`

Inheritance diagram for cl::BufferRenderGL:
[legend]
Collaboration diagram for cl::BufferRenderGL:
[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 & | operator= (const cl_mem &rhs)
| Assignment from cl_mem - performs shallow copy. More...
| BufferRenderGL (const BufferRenderGL &buf)
| Copy constructor to forward copy to the superclass correctly. Required for MSVC. More...
BufferRenderGL & | operator= (const BufferRenderGL &rhs)
| Copy assignment 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 (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 & | operator= (const cl_mem &rhs)
| Assignment from cl_mem - performs shallow copy. More...
| BufferRenderGL (const BufferRenderGL &buf)
| Copy constructor to forward copy to the superclass correctly. Required for MSVC. More...
BufferRenderGL & | operator= (const BufferRenderGL &rhs)
| Copy assignment 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...

## 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 4372 of file cl.hpp.

## Constructor & Destructor Documentation

## BufferRenderGL() [1/8]

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 4385 of file cl.hpp.

## BufferRenderGL() [2/8]

cl::BufferRenderGL::BufferRenderGL | ( |  | ) |

inline

Default constructor - initializes to NULL.

Definition at line 4408 of file cl.hpp.

## BufferRenderGL() [3/8]

__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 4418 of file cl.hpp.

## BufferRenderGL() [4/8]

cl::BufferRenderGL::BufferRenderGL | ( | const BufferRenderGL & | buf | ) |

inline

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

Definition at line 4443 of file cl.hpp.

## BufferRenderGL() [5/8]

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 4385 of file cl.hpp.

## BufferRenderGL() [6/8]

cl::BufferRenderGL::BufferRenderGL | ( |  | ) |

inline

Default constructor - initializes to NULL.

Definition at line 4408 of file cl.hpp.

## BufferRenderGL() [7/8]

__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 4418 of file cl.hpp.

## BufferRenderGL() [8/8]

cl::BufferRenderGL::BufferRenderGL | ( | const BufferRenderGL & | buf | ) |

inline

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

Definition at line 4443 of file cl.hpp.

## Member Function Documentation

## getObjectInfo() [1/2]

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

inline

Wrapper for clGetGLObjectInfo().

Definition at line 4486 of file cl.hpp.

## getObjectInfo() [2/2]

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

inline

Wrapper for clGetGLObjectInfo().

Definition at line 4486 of file cl.hpp.

## operator=() [1/4]

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

inline

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

Definition at line 4449 of file cl.hpp.

## operator=() [2/4]

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

inline

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

Definition at line 4449 of file cl.hpp.

## operator=() [3/4]

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

inline

Assignment from cl_mem - performs shallow copy.

See Memory for further details.

Definition at line 4426 of file cl.hpp.

## operator=() [4/4]

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

inline

Assignment from cl_mem - performs shallow copy.

See Memory for further details.

Definition at line 4426 of file cl.hpp.

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

- /build/asl-1Fw6fH/asl-0.1.7/debian/tmp/usr/include/ASL/acl/cl.hpp