浏览代码

Enabled the texture streaming debugging update in 2018.2

/main
lyndon homewood 6 年前
当前提交
dc5e1aa0
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. 6
      ScriptableRenderPipeline/HDRenderPipeline/HDRP/Debug/DebugDisplay.cs

6
ScriptableRenderPipeline/HDRenderPipeline/HDRP/Debug/DebugDisplay.cs


public void UpdateMaterials()
{
//if (mipMapDebugSettings.debugMipMapMode != 0)
// Texture.SetStreamingTextureMaterialDebugProperties();
#if UNITY_2018_2_OR_NEWER
if (mipMapDebugSettings.debugMipMapMode != 0)
Texture.SetStreamingTextureMaterialDebugProperties();
#endif
}
void RegisterDisplayStatsDebug()

正在加载...
取消
保存