engine
 
载入中...
搜索中...
未找到
EMaterialShaderMapUsage 命名空间参考

Usage options for a shader map. 更多...

详细描述

Usage options for a shader map.

The purpose of EMaterialShaderMapUsage is to allow creating a unique yet deterministic (no appCreateGuid) Id, For a shader map corresponding to any UMaterial or UMaterialInstance, for different use cases. As an example, when exporting a material to Lightmass we want to compile a shader map with FLightmassMaterialProxy, And generate a FMaterialShaderMapId for it that allows reuse later, so it must be deterministic.