Class Buffer

All Implemented Interfaces:
Direct Known Subclasses:

public abstract class Buffer extends AbstractOpenCLObject
Wrapper for an OpenCL buffer object. A buffer object stores a one-dimensional collection of elements. Elements of a buffer object can be a scalar data type (such as an int, float), vector data type, or a user-defined structure.
Buffers are created by the Context.
All access methods (read/write/copy/map) are available in both synchronized/blocking versions and in async/non-blocking versions. The later ones always return an Event object and have the prefix -Async in their name.
See Also: