You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
775 B
20 lines
775 B
using System;
|
|
using UnityEngine;
|
|
|
|
namespace UnityEditor.Rendering
|
|
{
|
|
/// <summary>
|
|
/// Item to store information used by <see cref="MaterialHeaderScopeList"></see>/>
|
|
/// </summary>
|
|
internal struct MaterialHeaderScopeItem
|
|
{
|
|
/// <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; }
|
|
}
|
|
}
|