render_sky

render_world

render_solid

render_entities

render_layer

Function pointers that are called at certain times in the view rendering cycle. A DLL or lite-C function can be assigned to any of those pointers for drawing additional objects onto the screen, or for calling draw_ functions at a certain time during the render process.

render_sky is called at the beginning of every view render cycle before anything else is drawn.
render_world is called after drawing level blocks and before drawing entities.
render_solid is called after drawing non-transparent level entities and before drawing sky entities.
render_entities is called at the end of of every view render cycle after drawing sky entities, transparent entities, and particles.
render_layer is called after rendering all views, and before rendering panels and texts. 8.04

Type:

EVENT

Remarks:

Except for render_layer, the functions are called during scene rendering. Dont' call BeginScene or EndScene in them.

Example:

function draw_horizon(); // dll or lite-C function
render_sky = draw_horizon; 

See also:

render_view

► latest version online