2025-06-23 11:42:47 -07:00

13 lines
317 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;
}
}