HAL::BeginFrame

HAL::BeginFrame
virtual bool BeginFrame();
Description

BeginFrame begins rendering frame, which is a caching unit. BeginFrame/EndFrame pair must always be called around BeginScene/EndScene

BeginFrame notifies renderer about the beginning of a game frame. When calling this function, users must also call EndFrame at the end of the game frame.

Return Value

Returns true if the frame is rendered successfully and false otherwise.