|
ClanLib
2.3.7
|
Element Array Buffer provider. More...
#include <pixel_buffer_provider.h>
Public Member Functions | |
Construction | |
| virtual | ~CL_PixelBufferProvider () |
| virtual void | create (const void *data, int new_width, int new_height, CL_PixelBufferDirection direction, CL_TextureFormat new_format, CL_BufferUsage usage)=0 |
| Create. More... | |
| virtual void | destroy ()=0 |
| Destroys the element array buffer provider. More... | |
Attributes | |
| virtual void * | get_data ()=0 |
| Retrieves a pointer to the mapped buffer. More... | |
Operations | |
| virtual void | lock (CL_BufferAccess access)=0 |
| Maps buffer into system memory. More... | |
| virtual void | unlock ()=0 |
| Unmaps element buffer. More... | |
| virtual void | upload_data (const CL_Rect &dest_rect, const void *data)=0 |
| Uploads data to buffer. More... | |
Element Array Buffer provider.
|
inlinevirtual |
|
pure virtual |
Create.
| data | = void |
| new_width | = New width |
| new_height | = New height |
| direction | = Direction |
| new_format | = New format |
| usage | = Buffer Usage |
|
pure virtual |
Destroys the element array buffer provider.
|
pure virtual |
Retrieves a pointer to the mapped buffer.
|
pure virtual |
Maps buffer into system memory.
|
pure virtual |
Unmaps element buffer.
|
pure virtual |
Uploads data to buffer.
1.8.4