fg_imagebuf()

Win32 DirectX Fastgraph/Light

Prototype

void fg_imagebuf (void *buffer, unsigned int size);

Sub fg_imagebuf (buffer() As Any, ByVal size As Long)

procedure fg_imagebuf (var buffer; size : integer);

Description

The fg_imagebuf() function specifies the size and address of the buffer used internally when creating or displaying image files. The default internal buffer size is 4,096 bytes. Image display or creation is typically faster when a larger buffer is used.

Parameters

buffer is the address of the internal buffer.

size is the buffer size in bytes. If size is zero, Fastgraph will use its own internal buffers when creating or displaying image files.

Return value

none

Restrictions

none

See also

fg_flicplay(), fg_makebmp(), fg_makepcx(), fg_showbmp(), fg_showflic(), fg_showjpeg(), fg_showpcx()

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.