2025-03-30 23:02:29 -07:00

14 lines
326 B
C#

using AssetRipper.IO.Files;
using AssetRipper.SourceGenerated.Subclasses.ShaderError;
namespace AssetRipper.SourceGenerated.Extensions
{
public static class ShaderErrorExtensions
{
public static BuildTarget GetCompilerPlatform(this IShaderError error)
{
return (BuildTarget)(uint)error.CompilerPlatform;
}
}
}