Rasagar/Library/PackageCache/com.unity.render-pipelines.high-definition/Editor/RenderPipeline/Settings/SerializedGPUResidentDrawerSettings.cs

23 lines
1002 B
C#
Raw Normal View History

2024-08-26 13:07:20 -07:00
using UnityEngine.Rendering.HighDefinition;
namespace UnityEditor.Rendering.HighDefinition
{
class SerializedGPUResidentDrawerSettings
{
public SerializedProperty root;
public SerializedProperty mode;
public SerializedProperty smallMeshScreenPercentage;
public SerializedProperty enableOcclusionCullingInCameras;
public SerializedProperty useDepthPrepassForOccluders;
public SerializedGPUResidentDrawerSettings(SerializedProperty root)
{
this.root = root;
mode = root.Find((GlobalGPUResidentDrawerSettings s) => s.mode);
smallMeshScreenPercentage = root.Find((GlobalGPUResidentDrawerSettings s) => s.smallMeshScreenPercentage);
enableOcclusionCullingInCameras = root.Find((GlobalGPUResidentDrawerSettings s) => s.enableOcclusionCullingInCameras);
useDepthPrepassForOccluders = root.Find((GlobalGPUResidentDrawerSettings s) => s.useDepthPrepassForOccluders);
}
}
}