您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
32 行
636 B
32 行
636 B
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using System;
|
|
|
|
namespace UnityEngine.Experimental.Rendering.HDPipeline
|
|
{
|
|
[GenerateHLSL]
|
|
public enum DebugMipMapMode
|
|
{
|
|
None,
|
|
MipRatio,
|
|
MipCount,
|
|
MipCountReduction,
|
|
StreamingMipBudget,
|
|
StreamingMip
|
|
}
|
|
|
|
[Serializable]
|
|
public class MipMapDebugSettings
|
|
{
|
|
public DebugMipMapMode debugMipMapMode = DebugMipMapMode.None;
|
|
|
|
public bool IsDebugDisplayEnabled()
|
|
{
|
|
return debugMipMapMode != DebugMipMapMode.None;
|
|
}
|
|
|
|
public void OnValidate()
|
|
{
|
|
}
|
|
}
|
|
}
|