mirror of
https://github.com/AssetRipper/AssetRipper.git
synced 2025-12-11 20:15:29 +01:00
14 lines
320 B
C#
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;
|
|
}
|
|
}
|
|
}
|