Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FMaterialCompiler
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/MaterialCompiler.h |
| Include | #include "MaterialCompiler.h" |
virtual bool IsCurrentlyCompilingForPreviousFrame() const
Remarks
The compiler can run in a different state and this affects caching of sub expression, Expressions are different (e.g. View.PrevWorldViewOrigin) when using previous frame's values If possible we should re-factor this to avoid having to deal with compiler state