mirror of
https://github.com/aelurum/AssetStudio.git
synced 2025-05-25 05:40:21 -04:00
Export local keywords of shader as well as global keywords (#554)
* Export local keywords of shader * Export local keywords of shader
This commit is contained in:
parent
84c75fadf5
commit
813e8b10a6
@ -648,6 +648,15 @@ namespace AssetStudio
|
|||||||
}
|
}
|
||||||
sb.Append("}\n");
|
sb.Append("}\n");
|
||||||
}
|
}
|
||||||
|
if (m_LocalKeywords != null && m_LocalKeywords.Length > 0)
|
||||||
|
{
|
||||||
|
sb.Append("Local Keywords { ");
|
||||||
|
foreach (string keyword in m_LocalKeywords)
|
||||||
|
{
|
||||||
|
sb.Append($"\"{keyword}\" ");
|
||||||
|
}
|
||||||
|
sb.Append("}\n");
|
||||||
|
}
|
||||||
|
|
||||||
sb.Append("\"");
|
sb.Append("\"");
|
||||||
if (m_ProgramCode.Length > 0)
|
if (m_ProgramCode.Length > 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user