Navigation
Unreal Engine C++ API Reference > Runtime > Engine > FMaterialParameterCollectionInstanceResource
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/ParameterCollection.h |
Include | #include "ParameterCollection.h" |
Source | /Engine/Source/Runtime/Engine/Private/Materials/ParameterCollection.cpp |
void GameThread_UpdateContents
&40;
const FGuid & InId,
const TArray< FVector4f > & Data,
const FName & InOwnerName,
bool bRecreateUniformBuffer
&41;
Remarks
Update the contents of the uniform buffer, called from the game thread. bRecreateUniformBuffer must be false if any components have their rendering state created which might reference this! The calling code is responsible for issuing a FGlobalComponentRecreateRenderStateContext before modifying. Otherwise cached mesh draw commands will be left with a dangling pointer.