diff --git a/InkDispersion.Shader/InkDispersion.Shader.vcxproj b/InkDispersion.Shader/InkDispersion.Shader.vcxproj new file mode 100644 index 0000000..8877c9e --- /dev/null +++ b/InkDispersion.Shader/InkDispersion.Shader.vcxproj @@ -0,0 +1,157 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 17.0 + Win32Proj + {F984A222-27F6-43B5-9156-BC62484E3AD3} + InkDispersionShader + 10.0 + + + + Application + true + v145 + Unicode + + + Application + false + v145 + true + Unicode + + + Application + true + v145 + Unicode + + + Application + false + v145 + true + Unicode + + + + + + + + + + + + + + + + + + + + + $(MSBuildThisFileDirectory)..\Release\ + + + + Level3 + true + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + 4.1 + + + + + Level3 + true + true + true + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + 4.1 + + + + + + + Level3 + true + _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + 4.1 + + + + + Level3 + true + true + true + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + 4.1 + + + + + Pixel + Pixel + Pixel + Pixel + + + + + + diff --git a/InkDispersion.Shader/InkDispersion.Shader.vcxproj.filters b/InkDispersion.Shader/InkDispersion.Shader.vcxproj.filters new file mode 100644 index 0000000..80f441e --- /dev/null +++ b/InkDispersion.Shader/InkDispersion.Shader.vcxproj.filters @@ -0,0 +1,22 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + ソース ファイル + + + diff --git a/InkDispersion/Shaders/InkDispersion.hlsl b/InkDispersion.Shader/InkDispersion.hlsl similarity index 100% rename from InkDispersion/Shaders/InkDispersion.hlsl rename to InkDispersion.Shader/InkDispersion.hlsl diff --git a/InkDispersion.slnx b/InkDispersion.slnx index 1c9b527..09f37b9 100644 --- a/InkDispersion.slnx +++ b/InkDispersion.slnx @@ -5,8 +5,13 @@ + + + + + diff --git a/InkDispersion/InkDispersion.csproj b/InkDispersion/InkDispersion.csproj index 0abb41b..e76c8c9 100644 --- a/InkDispersion/InkDispersion.csproj +++ b/InkDispersion/InkDispersion.csproj @@ -10,27 +10,13 @@ x64 True true + ..\Release\ - - + - - - ps_5_0 - main - %(RelativeDir)%(Filename).cso - - - - - - - - - $(YMM4DirPath)SharpGen.Runtime.dll @@ -102,10 +88,6 @@ - - - - diff --git a/InkDispersion/ShaderResourceUri.cs b/InkDispersion/ShaderResourceUri.cs index 1b9cedc..f5fff66 100644 --- a/InkDispersion/ShaderResourceUri.cs +++ b/InkDispersion/ShaderResourceUri.cs @@ -2,5 +2,5 @@ namespace InkDispersion; internal static class ShaderResourceUri { - public static Uri Get(string shaderName) => new($"pack://application:,,,/InkDispersion;component/Shaders/{shaderName}.cso", UriKind.Absolute); + public static Uri Get(string shaderName) => new($"pack://application:,,,/InkDispersion;component/Resources/Shader/{shaderName}.cso", UriKind.Absolute); }