Difference between revisions of "Event: Script:OnRender"
From Nomad DB
Line 1: | Line 1: | ||
+ | {{Page_WD2}}{{Page_MDE}} | ||
In this context, rendering onto the screen is possible. This is the only legal place to call d3d Functions. | In this context, rendering onto the screen is possible. This is the only legal place to call d3d Functions. | ||
Revision as of 20:34, 27 October 2020
In this context, rendering onto the screen is possible. This is the only legal place to call d3d Functions.
Registration
This event is registered on the Script Table.
Usage
OnRender()
This callback is not executed every frame: It's executed at a much lower frame-rate than the game is running at.