您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
40 行
1019 B
40 行
1019 B
using System;
|
|
using UnityEngine;
|
|
|
|
namespace UnityEngine.Experimental.Rendering.HDPipeline
|
|
{
|
|
// GlobalFrameSettings represent settings that are immutable at runtime.
|
|
// There is a dedicated RenderRenderPipelineSettings for each platform
|
|
|
|
[Serializable]
|
|
public struct GlobalRenderSettings
|
|
{
|
|
public bool supportShadowMask;
|
|
|
|
public bool supportSSSAndTransmission;
|
|
public bool supportDBuffer;
|
|
|
|
public bool supportSSR;
|
|
public bool supportSSAO;
|
|
public bool supportMSAA;
|
|
|
|
public GlobalRenderSettings()
|
|
{
|
|
supportShadowMask = true;
|
|
|
|
supportSSSAndTransmission = true;
|
|
supportDBuffer = false;
|
|
|
|
supportSSR = true;
|
|
supportSSAO = true;
|
|
supportMSAA = false;
|
|
}
|
|
}
|
|
|
|
[Serializable]
|
|
public class GlobalFrameSettings : ScriptableObject
|
|
{
|
|
public GlobalRenderSettings renderSettings;
|
|
public GlobalLightLoopSettings lightLoopSettings;
|
|
}
|
|
}
|