Difference between revisions of "Event: Script:OnRender"
From Nomad DB
Line 1: | Line 1: | ||
− | {{Page_WD2}}{{Page_MDE}} | + | {{Page_WD2}}{{Page_MDE}}{{Page_WDL}} |
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. | ||
Line 12: | Line 12: | ||
== Related Pages == | == Related Pages == | ||
− | * [[ | + | * [[ScriptHook: Rendering]] |
[[Category:WD2 Script Events]] | [[Category:WD2 Script Events]] | ||
+ | [[Category:WDL Script Events]] |
Revision as of 11:10, 15 April 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 is not executed every frame: It's executed at a much lower frame-rate than the game is running at.