fg_vbsize()

Win32 DirectX Fastgraph/Light

Prototype

long fg_vbsize (int width, int height);

Function fg_vbsize (ByVal width As Long, ByVal height As Long) As Long

function fg_vbsize (width, height : integer) : longint;

Description

The fg_vbsize() function returns the number of bytes required for a virtual buffer of specified dimensions, using the current color depth.

Parameters

width specifies the virtual buffer width in pixels.

height specifies the virtual buffer height in pixels.

Return value

The number of bytes required for a virtual buffer of the specified size and current color depth.

Restrictions

none

See also

fg_vbdefine(), fg_vbdepth(), fg_vbinit()

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.