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

This class takes care of all of the details you need to worry about when modifying a UMaterial on the main thread. 更多...

#include <MaterialShared.h>

类

struct  EOptions
 Options controlling what is done before/after the material is updated. 更多...
 

Public 成员函数

ENGINE_API void AddMaterial (UMaterial *Material)
 Add a material that has been updated to the context.
 
ENGINE_API void AddMaterialInstance (UMaterialInstance *Instance)
 Adds a material instance that has been updated to the context.
 
ENGINE_API void AddMaterialInterface (UMaterialInterface *Instance)
 Adds a material interface that has been updated to the context.
 
ENGINE_API FMaterialUpdateContext (uint32 Options=EOptions::Default, EShaderPlatform InShaderPlatform=GMaxRHIShaderPlatform)
 Initialization constructor.
 
ENGINE_API ~FMaterialUpdateContext ()
 Destructor.
 

详细描述

This class takes care of all of the details you need to worry about when modifying a UMaterial on the main thread.

This class should always be used when doing so!


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