Function


msoGfxBufferInit

Manages a dynamic gfx buffer

Syntax

#include <mso/GfxBuffer.h>
void msoGfxBufferInit( MsoGfxBuffer *buffer_ptr );

Description

Manages a dynamic gfx buffer

msoGfxBufferDestroy

Destroys the gfx buffer

Syntax

#include <mso/GfxBuffer.h>
void msoGfxBufferDestroy( MsoGfxBuffer *buffer_ptr );

Description

Destroys the gfx buffer. All memory held for gfx storage will be released.

msoGfxBufferReserve

Reserves one area for gfx and returns its pointer

Syntax

#include <mso/GfxBuffer.h>
void msoGfxBufferReserve( MsoGfxBuffer *buffer_ptr );

Description

Reserves one area for gfx and returns its pointer

msoGfxBufferStore

Writes all gfx stored in the gfx buffer to dest_array

Syntax

#include <mso/GfxBuffer.h>
void msoGfxBufferStore( MsoGfxBuffer *buffer_ptr, Gfx *dest_array );

Description

Writes all gfx stored in the gfx buffer to dest_array. Before calling this function, an area must be reserved in dest_array which is larger than buffer_ptr->number_of_gfxs.