
I updated everything to the latest Unity Editor. Also realized I had the wrong shaders on my hairs, those are fixed and the hairs look MUCH better!
34 lines
668 B
C#
34 lines
668 B
C#
using System;
|
|
using UnityEngine;
|
|
|
|
namespace UnityEditor.ShaderGraph.Internal
|
|
{
|
|
[Serializable]
|
|
public struct OutputMetadata
|
|
{
|
|
[SerializeField]
|
|
int m_Index;
|
|
|
|
[SerializeField]
|
|
string m_ReferenceName;
|
|
|
|
[SerializeField]
|
|
int m_Id;
|
|
|
|
internal OutputMetadata(int index, string referenceName, int id)
|
|
{
|
|
m_Index = index;
|
|
m_ReferenceName = referenceName;
|
|
m_Id = id;
|
|
}
|
|
|
|
public int index => m_Index;
|
|
|
|
public int id => m_Id;
|
|
|
|
public string referenceName => m_ReferenceName;
|
|
|
|
internal bool isValid => referenceName != null;
|
|
}
|
|
}
|