2023-01-14 11:31:39 -05:00

14 lines
320 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)error.CompilerPlatform;
}
}
}