new method: ResetGFX();

exposes the GFX->beginReset(); method to script to allow folks to force the gbuffer to reinitialize (if, say a custom element is holding on to data in a buffer and it needs a cleaning, to name one example)
This commit is contained in:
Azaezel 2016-03-15 18:04:11 -05:00
parent 7bba3ee2de
commit cc618ce2e0

View file

@ -1329,3 +1329,8 @@ DefineEngineFunction( getBestHDRFormat, GFXFormat, (),,
return format;
}
DefineConsoleFunction(ResetGFX, void, (), , "")
{
GFX->beginReset();
}