engine
 
载入中...
搜索中...
未找到
Public 类型 | 所有成员列表
FMaterialUpdateContext::EOptions结构体 参考

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

#include <MaterialShared.h>

Public 类型

enum  Type { ReregisterComponents = 0x1 , SyncWithRenderingThread = 0x2 , RecreateRenderStates = 0x4 , Default = RecreateRenderStates | SyncWithRenderingThread }
 

详细描述

Options controlling what is done before/after the material is updated.

成员枚举类型说明

◆ Type

枚举值
ReregisterComponents 

Reregister all components while updating the material.

SyncWithRenderingThread 

Sync with the rendering thread.

This is necessary when modifying a material exposed to the rendering thread. You may omit this flag if you have already flushed rendering commands.

Default 

Default options: Recreate render state, sync with rendering thread.


该结构体的文档由以下文件生成: