#include <graphics.h>
Public Member Functions | |
| void | resize (uint byteCount) |
| void | clear (byte value=0) |
| bool | empty () const |
| uint | size () const |
| byte * | data () |
| const byte * | data () const |
| byte & | operator[] (uint offset) |
| const byte & | operator[] (uint offset) const |
| Graphics::ManagedSurface & | managedSurface () |
| const Graphics::ManagedSurface & | managedSurface () const |
| Graphics::Surface & | surface () |
| const Graphics::Surface & | surface () const |
Owns a CLUT8 surface with a byte-addressable resource-buffer interface.
The surface remains 1024 pixels wide so data() and operator[] preserve the offsets used by the original resource decoders.