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

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