source: trunk/Utilities/DirectShowReferenceSource/Sample/Unity01/RenderingPlugin/WSAVisualStudio2013/ReadMe.txt @ 937

Last change on this file since 937 was 638, checked in by roman, 8 years ago

Media source texture reader and Unity 3D sample project

File size: 1.4 KB
Line 
1This is a RenderingPlugin for Windows Store Apps.
2There's already prebuilt plugin version in Unity project. (Assets\Plugins\Metro\<SDK>\<Platform>)
3Also - precompiled shaders are located here - UnityProject\Assets\StreamingAssets.
4Also checkout - UnityProject\Assets\Editor\MyBuildPostprocessor.cs, it contains some bits, how Windows Store Apps source files are modified after building from Editor.
5
6If you want to recompile RenderingPlugin or shaders it's simply enough to hit Build Solution, and both RenderingPlugin.dll and precompiled shaders will be copied to appropriate folders in Unity project.
7For more information, go to Project->Properties->BuildEvents->Post-Build event.
8
9
10It's also possible to setup RenderingPlugin project for debugging, do the following.
11* Open UnityProject
12* Build Windows Store Apps, it doesn't matter which project type you choose, but in this case choose XAML C#
13* Open generated solution
14* Right click on solution in Solution Explorer
15* Add->Existing Project, add RenderingPlugin\<WSAVisualStudio2012 - for SDK 8.0, WSAVisualStudio2013 - for SDK 8.1>\RenderingPlugin.vcxproj
16* Right click on "Plugin Render API Example", Project Dependencies, select RenderingPlugin
17* That's it, for ex., place a breakpoint in CreateD3D11Resources
18
19* You can now change shaders and sources in RenderingPlugin project, and test it on the fly.
20* Note: you can also debug RenderingPlugin source files
21
22
23
Note: See TracBrowser for help on using the repository browser.