Unit 'agraphics' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#amunits]

FreeGBuffers

Deallocate memory obtained by GetGBuffers()

Declaration

Source position: agraphics.pas line 2313

procedure FreeGBuffers(

  anOb: pAnimOb;

  rp: pRastPort;

  flag: LongInt

);

Arguments

anOb

  

A pointer to the AnimOb structure

rp

  

A pointer to the current RastPort

Description

For each sequence of each component of the AnimOb, deallocate memory for:

if db is set (user had used double-buffering) deallocate:

A call to GetGBuffers() that resulted in a partially allocation of the required buffers will result in a deallocation of these buffers. (Possible incompatibility with the real thing, though)

See also

GetGBuffers

  

Attempt to allocate ALL buffers of an entire AnimOb.


Documentation generated on: 2021-07-30