Files
com.misaki.hdrp-toon/Editor/MeterialEditor/UTS3MaterialHeaderScopeItem.cs
2024-08-15 17:00:11 +09:00

29 lines
1.1 KiB
C#

using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
using UnityEngine.Rendering;
namespace UnityEditor.Rendering.Toon
{
internal struct UTS3MaterialHeaderScopeItem
{
/// <summary><see cref="GUIContent"></see> that will be rendered on the <see cref="MaterialHeaderScope"></see></summary>
public GUIContent headerTitle { get; set; }
/// <summary>The bitmask for this scope</summary>
public uint expandable { get; set; }
/// <summary>The action that will draw the controls for this scope</summary>
public Action<Material> drawMaterialScope { get; set; }
/// <summary>The url of the scope</summary>
public string url { get; set; }
/// <summary>The mode of UTS rendering mode</summary>
public uint workflowMode { get; set; }
/// <summary>The flag wheter UTS material is in transparent mode</summary>
public uint transparentEnabled { get; set; }
/// <summary>The flag wheter UTS material is in tessellation mode</summary>
public uint tessellationEnabled { get; set; }
}
}