Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/SceneManagement.h |
Include |
#include "SceneManagement.h" |
UMaterialInstanceDynamic * GetReusableMID
(
class UMaterialInterface * InSource
)
Allows MIDs being created and released during view rendering without the overhead of creating and releasing objects As MID are not allowed to be parent of MID this gets fixed up by parenting it to the next Material or MIC
Parameter |
Description |
---|---|
InSource |
can be Material, MIC or MID, must not be 0 |