Firstborn/Library/PackageCache/com.unity.render-pipelines..../Editor/ShaderGUI/MaterialAssemblyReference/RawRenderQueue.cs

16 lines
360 B
C#
Raw Normal View History

2023-03-28 13:24:16 -04:00
using System.Runtime.CompilerServices;
using UnityEngine;
[assembly: InternalsVisibleTo("Unity.RenderPipelines.Universal.Editor")]
namespace UnityEditor.Rendering.Universal
{
internal static class MaterialAccess
{
internal static int ReadMaterialRawRenderQueue(Material mat)
{
return mat.rawRenderQueue;
}
}
}