HGE::Gfx_Clear

Clears render target (screen or texture) and z-buffer.

void Gfx_Clear(
  DWORD color
);

Parameters

color
An ARGB color value to which the render target is cleared.

Remarks

Gfx_Clear function must be called between the Gfx_BeginScene and Gfx_EndScene calls.

Requirements

Header: hge.h
Import library: hge.lib

See also

Hardware color format