Difference between revisions of "Event: Script:OnRender"

From Nomad DB
 
Line 9: Line 9:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
'''This callback is not executed every frame:''' It's executed at a much lower frame-rate than the game is running at.
+
'''This callback may not be executed every frame:''' Depending on the implementation, it's executed at a much lower frame-rate than the game is running at.
  
 
== Related Pages ==
 
== Related Pages ==
Line 16: Line 16:
 
[[Category:WD2 Script Events]]
 
[[Category:WD2 Script Events]]
 
[[Category:WDL Script Events]]
 
[[Category:WDL Script Events]]
 +
[[Category:MDE Script Events]]

Latest revision as of 15:59, 25 September 2021

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 may not be executed every frame: Depending on the implementation, it's executed at a much lower frame-rate than the game is running at.

Related Pages