Added project files for Windows Phone 8

This commit is contained in:
ShawnHargreaves_cp 2012-10-30 09:38:24 -07:00
Родитель 69d1d82691
Коммит e40aba6757
7 изменённых файлов: 657 добавлений и 5 удалений

Просмотреть файл

@ -0,0 +1,26 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Express 2012 for Windows Phone
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DirectXTK_WindowsPhone8", "DirectXTK_WindowsPhone8.vcxproj", "{E0B52AE7-E160-4D32-BF3F-910B785E5A8E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|ARM = Debug|ARM
Debug|Win32 = Debug|Win32
Release|ARM = Release|ARM
Release|Win32 = Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{E0B52AE7-E160-4D32-BF3F-910B785E5A8E}.Debug|ARM.ActiveCfg = Debug|ARM
{E0B52AE7-E160-4D32-BF3F-910B785E5A8E}.Debug|ARM.Build.0 = Debug|ARM
{E0B52AE7-E160-4D32-BF3F-910B785E5A8E}.Debug|Win32.ActiveCfg = Debug|Win32
{E0B52AE7-E160-4D32-BF3F-910B785E5A8E}.Debug|Win32.Build.0 = Debug|Win32
{E0B52AE7-E160-4D32-BF3F-910B785E5A8E}.Release|ARM.ActiveCfg = Release|ARM
{E0B52AE7-E160-4D32-BF3F-910B785E5A8E}.Release|ARM.Build.0 = Release|ARM
{E0B52AE7-E160-4D32-BF3F-910B785E5A8E}.Release|Win32.ActiveCfg = Release|Win32
{E0B52AE7-E160-4D32-BF3F-910B785E5A8E}.Release|Win32.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

Просмотреть файл

@ -0,0 +1,241 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|ARM">
<Configuration>Debug</Configuration>
<Platform>ARM</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|ARM">
<Configuration>Release</Configuration>
<Platform>ARM</Platform>
</ProjectConfiguration>
</ItemGroup>
<ItemGroup>
<ClInclude Include="Inc\CommonStates.h" />
<ClInclude Include="Inc\DDSTextureLoader.h" />
<ClInclude Include="Inc\Effects.h" />
<ClInclude Include="Inc\GeometricPrimitive.h" />
<ClInclude Include="Inc\ScreenGrab.h" />
<ClInclude Include="Inc\SpriteBatch.h" />
<ClInclude Include="Inc\PrimitiveBatch.h" />
<ClInclude Include="Inc\SpriteFont.h" />
<ClInclude Include="Inc\VertexTypes.h" />
<ClInclude Include="Src\AlignedNew.h" />
<ClInclude Include="Src\Bezier.h" />
<ClInclude Include="Src\ConstantBuffer.h" />
<ClInclude Include="Src\BinaryReader.h" />
<ClInclude Include="Src\DemandCreate.h" />
<ClInclude Include="Src\EffectCommon.h" />
<ClInclude Include="Src\pch.h" />
<ClInclude Include="Src\PlatformHelpers.h" />
<ClInclude Include="Src\SharedResourcePool.h" />
<ClInclude Include="Src\DDS.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="Src\AlphaTestEffect.cpp" />
<ClCompile Include="Src\BasicEffect.cpp" />
<ClCompile Include="Src\CommonStates.cpp" />
<ClCompile Include="Src\DDSTextureLoader.cpp" />
<ClCompile Include="Src\DualTextureEffect.cpp" />
<ClCompile Include="Src\EffectCommon.cpp" />
<ClCompile Include="Src\BinaryReader.cpp" />
<ClCompile Include="Src\EnvironmentMapEffect.cpp" />
<ClCompile Include="Src\GeometricPrimitive.cpp" />
<ClCompile Include="Src\pch.cpp">
<PrecompiledHeader>Create</PrecompiledHeader>
</ClCompile>
<ClCompile Include="Src\ScreenGrab.cpp" />
<ClCompile Include="Src\SkinnedEffect.cpp" />
<ClCompile Include="Src\SpriteBatch.cpp" />
<ClCompile Include="Src\PrimitiveBatch.cpp" />
<ClCompile Include="Src\SpriteFont.cpp" />
<ClCompile Include="Src\VertexTypes.cpp" />
</ItemGroup>
<ItemGroup>
<None Include="Readme.txt" />
<None Include="Src\Shaders\Common.fxh" />
<None Include="Src\Shaders\Compiled\AlphaTestEffect_PSAlphaTestEqNe.inc" />
<None Include="Src\Shaders\Compiled\AlphaTestEffect_PSAlphaTestEqNeNoFog.inc" />
<None Include="Src\Shaders\Compiled\AlphaTestEffect_PSAlphaTestLtGt.inc" />
<None Include="Src\Shaders\Compiled\AlphaTestEffect_PSAlphaTestLtGtNoFog.inc" />
<None Include="Src\Shaders\Compiled\AlphaTestEffect_VSAlphaTest.inc" />
<None Include="Src\Shaders\Compiled\AlphaTestEffect_VSAlphaTestNoFog.inc" />
<None Include="Src\Shaders\Compiled\AlphaTestEffect_VSAlphaTestVc.inc" />
<None Include="Src\Shaders\Compiled\AlphaTestEffect_VSAlphaTestVcNoFog.inc" />
<None Include="Src\Shaders\Compiled\BasicEffect_PSBasic.inc" />
<None Include="Src\Shaders\Compiled\BasicEffect_PSBasicNoFog.inc" />
<None Include="Src\Shaders\Compiled\BasicEffect_PSBasicPixelLighting.inc" />
<None Include="Src\Shaders\Compiled\BasicEffect_PSBasicPixelLightingTx.inc" />
<None Include="Src\Shaders\Compiled\BasicEffect_PSBasicTx.inc" />
<None Include="Src\Shaders\Compiled\BasicEffect_PSBasicTxNoFog.inc" />
<None Include="Src\Shaders\Compiled\BasicEffect_PSBasicVertexLighting.inc" />
<None Include="Src\Shaders\Compiled\BasicEffect_PSBasicVertexLightingNoFog.inc" />
<None Include="Src\Shaders\Compiled\BasicEffect_PSBasicVertexLightingTx.inc" />
<None Include="Src\Shaders\Compiled\BasicEffect_PSBasicVertexLightingTxNoFog.inc" />
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasic.inc" />
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicNoFog.inc" />
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicOneLight.inc" />
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicOneLightTx.inc" />
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicOneLightTxVc.inc" />
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicOneLightVc.inc" />
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicPixelLighting.inc" />
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicPixelLightingTx.inc" />
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicPixelLightingTxVc.inc" />
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicPixelLightingVc.inc" />
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicTx.inc" />
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicTxNoFog.inc" />
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicTxVc.inc" />
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicTxVcNoFog.inc" />
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicVc.inc" />
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicVcNoFog.inc" />
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicVertexLighting.inc" />
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicVertexLightingTx.inc" />
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicVertexLightingTxVc.inc" />
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicVertexLightingVc.inc" />
<None Include="Src\Shaders\Compiled\DualTextureEffect_PSDualTexture.inc" />
<None Include="Src\Shaders\Compiled\DualTextureEffect_PSDualTextureNoFog.inc" />
<None Include="Src\Shaders\Compiled\DualTextureEffect_VSDualTexture.inc" />
<None Include="Src\Shaders\Compiled\DualTextureEffect_VSDualTextureNoFog.inc" />
<None Include="Src\Shaders\Compiled\DualTextureEffect_VSDualTextureVc.inc" />
<None Include="Src\Shaders\Compiled\DualTextureEffect_VSDualTextureVcNoFog.inc" />
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_PSEnvMap.inc" />
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_PSEnvMapNoFog.inc" />
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_PSEnvMapSpecular.inc" />
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_PSEnvMapSpecularNoFog.inc" />
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_VSEnvMap.inc" />
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_VSEnvMapFresnel.inc" />
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_VSEnvMapOneLight.inc" />
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_VSEnvMapOneLightFresnel.inc" />
<None Include="Src\Shaders\Compiled\SkinnedEffect_PSSkinnedPixelLighting.inc" />
<None Include="Src\Shaders\Compiled\SkinnedEffect_PSSkinnedVertexLighting.inc" />
<None Include="Src\Shaders\Compiled\SkinnedEffect_PSSkinnedVertexLightingNoFog.inc" />
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedOneLightFourBones.inc" />
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedOneLightOneBone.inc" />
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedOneLightTwoBones.inc" />
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedPixelLightingFourBones.inc" />
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedPixelLightingOneBone.inc" />
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedPixelLightingTwoBones.inc" />
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedVertexLightingFourBones.inc" />
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedVertexLightingOneBone.inc" />
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedVertexLightingTwoBones.inc" />
<None Include="Src\Shaders\Compiled\SpriteEffect_SpritePixelShader.inc" />
<None Include="Src\Shaders\Compiled\SpriteEffect_SpriteVertexShader.inc" />
<None Include="Src\Shaders\CompileShaders.cmd" />
<None Include="Src\Shaders\Lighting.fxh" />
<None Include="Src\Shaders\SpriteEffect.fx" />
<None Include="Src\Shaders\Structures.fxh" />
<None Include="Src\TeapotData.inc" />
</ItemGroup>
<ItemGroup>
<None Include="Src\Shaders\BasicEffect.fx">
<FileType>Document</FileType>
</None>
<None Include="Src\Shaders\AlphaTestEffect.fx">
<FileType>Document</FileType>
</None>
<None Include="Src\Shaders\DualTextureEffect.fx">
<FileType>Document</FileType>
</None>
<None Include="Src\Shaders\EnvironmentMapEffect.fx">
<FileType>Document</FileType>
</None>
<None Include="Src\Shaders\SkinnedEffect.fx">
<FileType>Document</FileType>
</None>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{E0B52AE7-E160-4D32-BF3F-910B785E5A8E}</ProjectGuid>
<RootNamespace>DirectXTK</RootNamespace>
<DefaultLanguage>en-US</DefaultLanguage>
<VCTargetsPath Condition="'$(VCTargetsPath11)' != '' and '$(VSVersion)' == '' and '$(VisualStudioVersion)' == ''">$(VCTargetsPath11)</VCTargetsPath>
<MinimumVisualStudioVersion>11.0</MinimumVisualStudioVersion>
<TargetPlatformIdentifier>Windows Phone</TargetPlatformIdentifier>
<TargetPlatformVersion>8.0</TargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v110_wp80</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v110_wp80</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<PlatformToolset>v110_wp80</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<PlatformToolset>v110_wp80</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<GenerateManifest>false</GenerateManifest>
<TargetName>DirectXTK</TargetName>
<OutDir>Bin\WindowsPhone8\$(Platform)\$(Configuration)\</OutDir>
<IntDir>Bin\WindowsPhone8\$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PreprocessorDefinitions>_LIB;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<Optimization>Disabled</Optimization>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<PreprocessorDefinitions>_LIB;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
<ClCompile>
<PreprocessorDefinitions>_LIB;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<Optimization>Disabled</Optimization>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
<ClCompile>
<PreprocessorDefinitions>_LIB;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup>
<ClCompile>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
<AdditionalIncludeDirectories>$(ProjectDir)Inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<WarningLevel>Level3</WarningLevel>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
</Link>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsPhone\v$(TargetPlatformVersion)\Microsoft.Cpp.WindowsPhone.$(TargetPlatformVersion).targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

Просмотреть файл

@ -0,0 +1,360 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Inc">
<UniqueIdentifier>{771f5f80-d173-49c3-8afb-790e8f7cb0ce}</UniqueIdentifier>
</Filter>
<Filter Include="Src">
<UniqueIdentifier>{c52e19b6-8703-49a1-9b36-101a05b4745d}</UniqueIdentifier>
</Filter>
<Filter Include="Src\Shaders">
<UniqueIdentifier>{28d5fa16-99e2-471c-8cd8-2020e81f0024}</UniqueIdentifier>
</Filter>
<Filter Include="Src\Shaders\Compiled">
<UniqueIdentifier>{7c833235-11d2-4716-a46e-375560545370}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="Inc\CommonStates.h">
<Filter>Inc</Filter>
</ClInclude>
<ClInclude Include="Inc\ScreenGrab.h">
<Filter>Inc</Filter>
</ClInclude>
<ClInclude Include="Inc\SpriteBatch.h">
<Filter>Inc</Filter>
</ClInclude>
<ClInclude Include="Inc\PrimitiveBatch.h">
<Filter>Inc</Filter>
</ClInclude>
<ClInclude Include="Inc\SpriteFont.h">
<Filter>Inc</Filter>
</ClInclude>
<ClInclude Include="Inc\VertexTypes.h">
<Filter>Inc</Filter>
</ClInclude>
<ClInclude Include="Src\AlignedNew.h">
<Filter>Src</Filter>
</ClInclude>
<ClInclude Include="Src\ConstantBuffer.h">
<Filter>Src</Filter>
</ClInclude>
<ClInclude Include="Src\BinaryReader.h">
<Filter>Src</Filter>
</ClInclude>
<ClInclude Include="Src\pch.h">
<Filter>Src</Filter>
</ClInclude>
<ClInclude Include="Src\PlatformHelpers.h">
<Filter>Src</Filter>
</ClInclude>
<ClInclude Include="Src\SharedResourcePool.h">
<Filter>Src</Filter>
</ClInclude>
<ClInclude Include="Src\DDS.h">
<Filter>Src</Filter>
</ClInclude>
<ClInclude Include="Inc\GeometricPrimitive.h">
<Filter>Inc</Filter>
</ClInclude>
<ClInclude Include="Src\Bezier.h">
<Filter>Src</Filter>
</ClInclude>
<ClInclude Include="Src\EffectCommon.h">
<Filter>Src</Filter>
</ClInclude>
<ClInclude Include="Inc\Effects.h">
<Filter>Inc</Filter>
</ClInclude>
<ClInclude Include="Src\DemandCreate.h">
<Filter>Src</Filter>
</ClInclude>
<ClInclude Include="Inc\DDSTextureLoader.h">
<Filter>Inc</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="Src\CommonStates.cpp">
<Filter>Src</Filter>
</ClCompile>
<ClCompile Include="Src\pch.cpp">
<Filter>Src</Filter>
</ClCompile>
<ClCompile Include="Src\SpriteBatch.cpp">
<Filter>Src</Filter>
</ClCompile>
<ClCompile Include="Src\PrimitiveBatch.cpp">
<Filter>Src</Filter>
</ClCompile>
<ClCompile Include="Src\SpriteFont.cpp">
<Filter>Src</Filter>
</ClCompile>
<ClCompile Include="Src\VertexTypes.cpp">
<Filter>Src</Filter>
</ClCompile>
<ClCompile Include="Src\BasicEffect.cpp">
<Filter>Src</Filter>
</ClCompile>
<ClCompile Include="Src\GeometricPrimitive.cpp">
<Filter>Src</Filter>
</ClCompile>
<ClCompile Include="Src\BinaryReader.cpp">
<Filter>Src</Filter>
</ClCompile>
<ClCompile Include="Src\EffectCommon.cpp">
<Filter>Src</Filter>
</ClCompile>
<ClCompile Include="Src\SkinnedEffect.cpp">
<Filter>Src</Filter>
</ClCompile>
<ClCompile Include="Src\AlphaTestEffect.cpp">
<Filter>Src</Filter>
</ClCompile>
<ClCompile Include="Src\DualTextureEffect.cpp">
<Filter>Src</Filter>
</ClCompile>
<ClCompile Include="Src\EnvironmentMapEffect.cpp">
<Filter>Src</Filter>
</ClCompile>
<ClCompile Include="Src\DDSTextureLoader.cpp">
<Filter>Src</Filter>
</ClCompile>
<ClCompile Include="Src\ScreenGrab.cpp">
<Filter>Src</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<None Include="Src\Shaders\CompileShaders.cmd">
<Filter>Src\Shaders</Filter>
</None>
<None Include="Src\Shaders\Compiled\SpriteEffect_SpritePixelShader.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\SpriteEffect_SpriteVertexShader.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\SpriteEffect.fx">
<Filter>Src\Shaders</Filter>
</None>
<None Include="Src\Shaders\Common.fxh">
<Filter>Src\Shaders</Filter>
</None>
<None Include="Src\Shaders\Lighting.fxh">
<Filter>Src\Shaders</Filter>
</None>
<None Include="Src\Shaders\Structures.fxh">
<Filter>Src\Shaders</Filter>
</None>
<None Include="Src\Shaders\Compiled\BasicEffect_PSBasic.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\BasicEffect_PSBasicNoFog.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\BasicEffect_PSBasicPixelLighting.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\BasicEffect_PSBasicPixelLightingTx.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\BasicEffect_PSBasicTx.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\BasicEffect_PSBasicTxNoFog.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\BasicEffect_PSBasicVertexLighting.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\BasicEffect_PSBasicVertexLightingNoFog.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\BasicEffect_PSBasicVertexLightingTx.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\BasicEffect_PSBasicVertexLightingTxNoFog.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasic.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicNoFog.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicOneLight.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicOneLightTx.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicOneLightTxVc.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicOneLightVc.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicPixelLighting.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicPixelLightingTx.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicPixelLightingTxVc.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicPixelLightingVc.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicTx.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicTxNoFog.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicTxVc.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicTxVcNoFog.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicVc.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicVcNoFog.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicVertexLighting.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicVertexLightingTx.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicVertexLightingTxVc.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicVertexLightingVc.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\TeapotData.inc">
<Filter>Src</Filter>
</None>
<None Include="Src\Shaders\BasicEffect.fx">
<Filter>Src\Shaders</Filter>
</None>
<None Include="Src\Shaders\Compiled\AlphaTestEffect_PSAlphaTestEqNe.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\AlphaTestEffect_PSAlphaTestEqNeNoFog.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\AlphaTestEffect_PSAlphaTestLtGt.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\AlphaTestEffect_PSAlphaTestLtGtNoFog.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\AlphaTestEffect_VSAlphaTest.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\AlphaTestEffect_VSAlphaTestNoFog.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\AlphaTestEffect_VSAlphaTestVc.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\AlphaTestEffect_VSAlphaTestVcNoFog.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedOneLightTwoBones.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedPixelLightingFourBones.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedPixelLightingOneBone.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedPixelLightingTwoBones.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedVertexLightingFourBones.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedVertexLightingOneBone.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedVertexLightingTwoBones.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\DualTextureEffect_PSDualTexture.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\DualTextureEffect_PSDualTextureNoFog.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\DualTextureEffect_VSDualTexture.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\DualTextureEffect_VSDualTextureNoFog.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\DualTextureEffect_VSDualTextureVc.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\DualTextureEffect_VSDualTextureVcNoFog.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_PSEnvMap.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_PSEnvMapNoFog.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_PSEnvMapSpecular.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_PSEnvMapSpecularNoFog.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_VSEnvMap.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_VSEnvMapFresnel.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_VSEnvMapOneLight.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_VSEnvMapOneLightFresnel.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\SkinnedEffect_PSSkinnedPixelLighting.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\SkinnedEffect_PSSkinnedVertexLighting.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\SkinnedEffect_PSSkinnedVertexLightingNoFog.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedOneLightFourBones.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedOneLightOneBone.inc">
<Filter>Src\Shaders\Compiled</Filter>
</None>
<None Include="Src\Shaders\AlphaTestEffect.fx">
<Filter>Src\Shaders</Filter>
</None>
<None Include="Src\Shaders\DualTextureEffect.fx">
<Filter>Src\Shaders</Filter>
</None>
<None Include="Src\Shaders\EnvironmentMapEffect.fx">
<Filter>Src\Shaders</Filter>
</None>
<None Include="Src\Shaders\SkinnedEffect.fx">
<Filter>Src\Shaders</Filter>
</None>
<None Include="Readme.txt" />
</ItemGroup>
</Project>

Просмотреть файл

@ -36,9 +36,13 @@ namespace DirectX
_In_ ID3D11Resource* pSource,
_In_z_ LPCWSTR fileName );
#if !defined(WINAPI_FAMILY) || (WINAPI_FAMILY != WINAPI_FAMILY_PHONE_APP)
HRESULT SaveWICTextureToFile( _In_ ID3D11DeviceContext* pContext,
_In_ ID3D11Resource* pSource,
_In_ REFGUID guidContainerFormat,
_In_z_ LPCWSTR fileName,
_In_opt_ const GUID* targetFormat = nullptr );
#endif
}

Просмотреть файл

@ -29,6 +29,10 @@
#pragma once
#endif
#if defined(WINAPI_FAMILY) && WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP
#error WIC is not supported on Windows Phone
#endif
#include <d3d11.h>
#pragma warning(push)

Просмотреть файл

@ -4,11 +4,12 @@ DirectXTK - the DirectX Tool Kit
Copyright (c) Microsoft Corporation. All rights reserved.
October 12, 2012
October 30, 2012
This package contains the "DirectX Tool Kit", a collection of helper classes for
writing Direct3D 11 C++ code for Windows Store apps, Windows 8 Win32 desktop
applications, Windows 7 applications, and Windows Vista Direct3D 11.0 applications.
applications, Windows Phone 8 applications, Windows 7 applications, and
Windows Vista Direct3D 11.0 applications.
This code is designed to build with either Visual Studio 2012 which includes the
Windows 8.0 SDK or Visual Studio 2010 with the standalone Windows 8.0 SDK installed
@ -234,8 +235,9 @@ Commandline options for the MakeSpriteFont tool:
Rgba32
High quality and supports multicolored fonts, but wastes space.
Bgra4444
Good choice for color fonts on Windows Store apps, but this format
requires the DirectX 11.1 Runtime and a WDDM 1.2 driver.
Good choice for color fonts on Windows Store apps and Windows Phone
platforms, as this format requires the DirectX 11.1 Runtime and a
WDDM 1.2 driver.
CompressedMono
The smallest format, and works on all D3D platforms, but it only
supports monochromatic font data. This uses a special BC2
@ -570,6 +572,9 @@ WICTextureLoader.h contains a loader for BMP, JPEG, PNG, TIFF, GIF, HD Photo, an
other WIC-supported image formats. This performs any required pixel format conversions
or image resizing using WIC at load time as well.
NOTE: WICTextureLoader is not supported on Windows Phone 8, because WIC is not
available on that platform.
NOTE: WICTextureLoader cannot load .TGA files unless the system has a 3rd party WIC
codec installed. You must use the DirectXTex library for TGA file format support
without relying on an add-on WIC codec.
@ -642,6 +647,9 @@ strange looking screenshot files). The caller can also provide a specific
pixel target format GUID to use as well. The caller provides the GUID of the
specific file container format to use.
NOTE: SaveWICTextureToFile is not supported on Windows Phone 8, because WIC is not
available on that platform.
Capturing a screenshot:
WRL::ComPtr<ID3D11Texture2D> backBuffer;
@ -666,6 +674,9 @@ Further reading:
RELEASE HISTORY
---------------
October 30, 2012
Added project files for Windows Phone 8
October 12, 2012
Added PrimitiveBatch for drawing user primitives
Debug object names for all D3D resources (for PIX and debug layer leak reporting)

Просмотреть файл

@ -27,10 +27,12 @@
#include "pch.h"
#if !defined(WINAPI_FAMILY) || (WINAPI_FAMILY != WINAPI_FAMILY_PHONE_APP)
#pragma warning(push)
#pragma warning(disable : 4005)
#include <wincodec.h>
#pragma warning(pop)
#endif
#include "ScreenGrab.h"
@ -583,6 +585,8 @@ HRESULT DirectX::SaveDDSTextureToFile( _In_ ID3D11DeviceContext* pContext,
}
//--------------------------------------------------------------------------------------
#if !defined(WINAPI_FAMILY) || (WINAPI_FAMILY != WINAPI_FAMILY_PHONE_APP)
namespace DirectX
{
extern IWICImagingFactory* _GetWIC();
@ -800,4 +804,6 @@ HRESULT DirectX::SaveWICTextureToFile( _In_ ID3D11DeviceContext* pContext,
return hr;
return S_OK;
}
}
#endif // !WINAPI_FAMILY || (WINAPI_FAMILY != WINAPI_FAMILY_PHONE_APP)