ScummVM API documentation
Hollywood::IndexedSurfaceBuffer Class Reference

#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
 

Detailed Description

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.


The documentation for this class was generated from the following file: