Rendering thread mirror of UMaterialParameterCollectionInstance. 更多...
#include <ParameterCollection.h>
Public 成员函数 | |
| void | GameThread_Destroy () |
| Destroy, called from the game thread. | |
| void | GameThread_UpdateContents (const FGuid &InId, const TArray< FVector4 > &Data, const FName &InOwnerName, bool bRecreateUniformBuffer) |
| Update the contents of the uniform buffer, called from the game thread. 更多... | |
Rendering thread mirror of UMaterialParameterCollectionInstance.
Stores data needed to render a material that references a UMaterialParameterCollection.
| void FMaterialParameterCollectionInstanceResource::GameThread_UpdateContents | ( | const FGuid & | InId, |
| const TArray< FVector4 > & | Data, | ||
| const FName & | InOwnerName, | ||
| bool | bRecreateUniformBuffer | ||
| ) |
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.