19 #ifndef EQUTIL_PIXELBUFFEROBJECT_H 20 #define EQUTIL_PIXELBUFFEROBJECT_H 32 class PixelBufferObject;
57 EQ_API
virtual ~PixelBufferObject();
69 EQ_API
virtual Error setup(
const size_t size,
const unsigned type);
72 EQ_API
virtual void destroy();
80 EQ_API
virtual const void* mapRead()
const;
88 EQ_API
virtual void* mapWrite();
96 EQ_API
virtual void unmap()
const;
99 EQ_API
virtual bool bind()
const;
102 EQ_API
virtual void unbind()
const;
105 EQ_API
size_t getSize()
const;
108 EQ_API
bool isInitialized()
const;
111 unsigned getID()
const;
114 PixelBufferObject(
const PixelBufferObject&) =
delete;
115 PixelBufferObject& operator=(
const PixelBufferObject&) =
delete;
116 detail::PixelBufferObject*
const _impl;
121 #endif // EQUTIL_PIXELBUFFEROBJECT_H A C++ class to abstract OpenGL pixel buffer objects.
The Equalizer client library.