シェーダーのリソースURIを返すクラスを追加する

このコミットが含まれているのは:
routersys committed 2026-10-12 01:09:13 +09:00
1 親 2b420bdd16
コミット 75a34280be
1ファイル変更
+6
+6
ファイルの表示
@@ -0,0 +1,6 @@
namespace SpectrumColorShift;
internal static class ShaderResourceUri
{
public static Uri Get(string shaderName) => new($"pack://application:,,,/SpectrumColorShift;component/Resources/Shader/{shaderName}.cso", UriKind.Absolute);
}