engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FMaterialParameterCollectionInstanceResource类 参考

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.

成员函数说明

◆ GameThread_UpdateContents()

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.


该类的文档由以下文件生成: