concept buffer object in category opencl

appears as: buffer object, buffer objects, buffer objects
OpenCL in Action: How to Accelerate Graphics and Computation

This is an excerpt from Manning's book OpenCL in Action: How to Accelerate Graphics and Computation.

In OpenCL, memory objects are represented by cl_mem data structures, and they come in two types: buffer objects and image objects. If the memory object is intended to contain pixel data, you should create an image object. In all other circumstances, you should place your data in a buffer object. We’ll look at buffer objects first.

3.4. Obtaining information about buffer objects

Whereas clGetImageInfo provides information about image objects only, you can obtain information about image objects and buffer objects with clGetMemObjectInfo. Its signature is as follows:

Figure 15.1. OpenCL memory objects (buffer objects and image objects) share data with OpenGL objects (VBOs and texture objects).
sitemap

Unable to load book!

The book could not be loaded.

(try again in a couple of minutes)

manning.com homepage
test yourself with a liveTest