Home | All Classes | Grouped Classes | Index | Search

CL_OpenGLStateData::on_flush

Flush current rendering batch.

	void on_flush();

Detailed description:

This is a hint from clanDisplay that it needs to perform some state changes. Usually this happens if translate, viewport or scissor needs updating.

Internally ClanLib uses this to end any open glBegin render batches.

See also:

CL_OpenGLStateData



Questions or comments, write to the ClanLib mailing list.