├── .gitignore ├── .gitmodules ├── Assets ├── Particle │ ├── fire.dds │ ├── particles.json │ ├── smoke.dds │ └── sparkTex.dds ├── Sponza │ ├── README.txt │ └── pbr │ │ ├── background_baseColor.jpg │ │ ├── background_metallicRoughness.jpg │ │ ├── background_normal.jpg │ │ ├── chain_texture_baseColor.png │ │ ├── chain_texture_metallicRoughness.jpg │ │ ├── chain_texture_normal.jpg │ │ ├── copyright.txt │ │ ├── lion_baseColor.jpg │ │ ├── lion_metallicRoughness.jpg │ │ ├── lion_normal.jpg │ │ ├── sponza2.bin │ │ ├── sponza2.gltf │ │ ├── sponza_arch_baseColor.jpg │ │ ├── sponza_arch_metallicRoughness.jpg │ │ ├── sponza_arch_normal.jpg │ │ ├── sponza_bricks_a_baseColor.jpg │ │ ├── sponza_bricks_a_metallicRoughness.jpg │ │ ├── sponza_bricks_a_normal.jpg │ │ ├── sponza_ceiling_a_baseColor.jpg │ │ ├── sponza_ceiling_a_metallicRoughness.jpg │ │ ├── sponza_ceiling_a_normal.jpg │ │ ├── sponza_column_a_baseColor.jpg │ │ ├── sponza_column_a_metallicRoughness.jpg │ │ ├── sponza_column_a_normal.jpg │ │ ├── sponza_column_b_baseColor.jpg │ │ ├── sponza_column_b_metallicRoughness.jpg │ │ ├── sponza_column_b_normal.jpg │ │ ├── sponza_column_c_baseColor.jpg │ │ ├── sponza_column_c_metallicRoughness.jpg │ │ ├── sponza_column_c_normal.jpg │ │ ├── sponza_curtain_baseColor.jpg │ │ ├── sponza_curtain_blue_baseColor.jpg │ │ ├── sponza_curtain_green_baseColor.jpg │ │ ├── sponza_curtain_metallicRoughness.jpg │ │ ├── sponza_curtain_normal.jpg │ │ ├── sponza_details_baseColor.jpg │ │ ├── sponza_details_metallicRoughness.jpg │ │ ├── sponza_details_normal.jpg │ │ ├── sponza_fabric_baseColor.jpg │ │ ├── sponza_fabric_blue_baseColor.jpg │ │ ├── sponza_fabric_green_baseColor.jpg │ │ ├── sponza_fabric_metallicRoughness.jpg │ │ ├── sponza_fabric_normal.jpg │ │ ├── sponza_flagpole_baseColor.jpg │ │ ├── sponza_flagpole_metallicRoughness.jpg │ │ ├── sponza_flagpole_normal.jpg │ │ ├── sponza_floor_a_baseColor.jpg │ │ ├── sponza_floor_a_metallicRoughness.jpg │ │ ├── sponza_floor_a_normal.jpg │ │ ├── sponza_roof_baseColor.jpg │ │ ├── sponza_roof_metallicRoughness.jpg │ │ ├── sponza_roof_normal.jpg │ │ ├── sponza_thorn_baseColor.png │ │ ├── sponza_thorn_metallicRoughness.jpg │ │ ├── sponza_thorn_normal.jpg │ │ ├── vase_baseColor.jpg │ │ ├── vase_hanging_baseColor.jpg │ │ ├── vase_hanging_metallicRoughness.jpg │ │ ├── vase_hanging_normal.jpg │ │ ├── vase_metallicRoughness.jpg │ │ ├── vase_normal.jpg │ │ ├── vase_plant_baseColor.png │ │ ├── vase_plant_metallicRoughness.jpg │ │ ├── vase_plant_normal.jpg │ │ ├── vase_round_baseColor.jpg │ │ ├── vase_round_metallicRoughness.jpg │ │ └── vase_round_normal.jpg └── Textures │ ├── BRDF_LUT.dds │ ├── Blouberg_diffuseIBL.dds │ ├── Blouberg_specularIBL.dds │ └── README.txt ├── CMakeLists.txt ├── LICENSE ├── MiniEngine ├── .gitignore ├── CMakeLists.txt ├── Core │ ├── BitonicSort.cpp │ ├── BitonicSort.h │ ├── BuddyAllocator.cpp │ ├── BuddyAllocator.h │ ├── BufferManager.cpp │ ├── BufferManager.h │ ├── Camera.cpp │ ├── Camera.h │ ├── CameraController.cpp │ ├── CameraController.h │ ├── Color.cpp │ ├── Color.h │ ├── ColorBuffer.cpp │ ├── ColorBuffer.h │ ├── CommandAllocatorPool.cpp │ ├── CommandAllocatorPool.h │ ├── CommandContext.cpp │ ├── CommandContext.h │ ├── CommandListManager.cpp │ ├── CommandListManager.h │ ├── CommandSignature.cpp │ ├── CommandSignature.h │ ├── Core.vcxproj │ ├── Core.vcxproj.filters │ ├── Cube.cpp │ ├── Cube.h │ ├── DDSTextureLoader.cpp │ ├── DDSTextureLoader.h │ ├── DepthBuffer.cpp │ ├── DepthBuffer.h │ ├── DepthOfField.cpp │ ├── DepthOfField.h │ ├── DescriptorHeap.cpp │ ├── DescriptorHeap.h │ ├── Display.cpp │ ├── Display.h │ ├── DynamicDescriptorHeap.cpp │ ├── DynamicDescriptorHeap.h │ ├── EngineProfiling.cpp │ ├── EngineProfiling.h │ ├── EngineTuning.cpp │ ├── EngineTuning.h │ ├── EsramAllocator.h │ ├── FXAA.cpp │ ├── FXAA.h │ ├── FileUtility.cpp │ ├── FileUtility.h │ ├── Fonts │ │ └── consola24.h │ ├── GameCore.cpp │ ├── GameCore.h │ ├── GameInput.cpp │ ├── GameInput.h │ ├── GpuBuffer.cpp │ ├── GpuBuffer.h │ ├── GpuResource.h │ ├── GpuTimeManager.cpp │ ├── GpuTimeManager.h │ ├── GraphRenderer.cpp │ ├── GraphRenderer.h │ ├── GraphicsCommon.cpp │ ├── GraphicsCommon.h │ ├── GraphicsCore.cpp │ ├── GraphicsCore.h │ ├── Hash.h │ ├── IExtraRenderingBuffers.cpp │ ├── IExtraRenderingBuffers.h │ ├── ImGuiModule.cpp │ ├── ImGuiModule.h │ ├── ImageScaling.cpp │ ├── ImageScaling.h │ ├── Input.cpp │ ├── LinearAllocator.cpp │ ├── LinearAllocator.h │ ├── Log.cpp │ ├── Log.h │ ├── Math │ │ ├── BoundingBox.h │ │ ├── BoundingPlane.h │ │ ├── BoundingSphere.cpp │ │ ├── BoundingSphere.h │ │ ├── Common.h │ │ ├── Frustum.cpp │ │ ├── Frustum.h │ │ ├── Functions.inl │ │ ├── Matrix3.h │ │ ├── Matrix4.h │ │ ├── Quaternion.h │ │ ├── Random.cpp │ │ ├── Random.h │ │ ├── Scalar.h │ │ ├── Transform.h │ │ └── Vector.h │ ├── MotionBlur.cpp │ ├── MotionBlur.h │ ├── ParticleEffect.cpp │ ├── ParticleEffect.h │ ├── ParticleEffectManager.cpp │ ├── ParticleEffectManager.h │ ├── ParticleEffectProperties.h │ ├── ParticleEmissionProperties.cpp │ ├── ParticleShaderStructs.h │ ├── PipelineState.cpp │ ├── PipelineState.h │ ├── PixelBuffer.cpp │ ├── PixelBuffer.h │ ├── PostEffects.cpp │ ├── PostEffects.h │ ├── ReadbackBuffer.cpp │ ├── ReadbackBuffer.h │ ├── RootSignature.cpp │ ├── RootSignature.h │ ├── SSAO.cpp │ ├── SSAO.h │ ├── SamplerManager.cpp │ ├── SamplerManager.h │ ├── Shaders │ │ ├── AdaptExposureCS.hlsl │ │ ├── AoBlurAndUpsampleCS.hlsli │ │ ├── AoBlurUpsampleBlendOutCS.hlsl │ │ ├── AoBlurUpsampleCS.hlsl │ │ ├── AoBlurUpsamplePreMinBlendOutCS.hlsl │ │ ├── AoBlurUpsamplePreMinCS.hlsl │ │ ├── AoPrepareDepthBuffers1CS.hlsl │ │ ├── AoPrepareDepthBuffers2CS.hlsl │ │ ├── AoRender1CS.hlsl │ │ ├── AoRender2CS.hlsl │ │ ├── AoRenderCS.hlsli │ │ ├── ApplyBloom2CS.hlsl │ │ ├── ApplyBloomCS.hlsl │ │ ├── AverageLumaCS.hlsl │ │ ├── BicubicFilterFunctions.hlsli │ │ ├── BicubicHorizontalUpsamplePS.hlsl │ │ ├── BicubicUpsampleCS.hlsl │ │ ├── BicubicUpsampleFast16CS.hlsl │ │ ├── BicubicUpsampleFast24CS.hlsl │ │ ├── BicubicUpsampleFast32CS.hlsl │ │ ├── BicubicUpsampleGammaPS.hlsl │ │ ├── BicubicUpsamplePS.hlsl │ │ ├── BicubicVerticalUpsamplePS.hlsl │ │ ├── BilinearUpsamplePS.hlsl │ │ ├── Bitonic32InnerSortCS.hlsl │ │ ├── Bitonic32OuterSortCS.hlsl │ │ ├── Bitonic32PreSortCS.hlsl │ │ ├── Bitonic64InnerSortCS.hlsl │ │ ├── Bitonic64OuterSortCS.hlsl │ │ ├── Bitonic64PreSortCS.hlsl │ │ ├── BitonicIndirectArgsCS.hlsl │ │ ├── BitonicSortCommon.hlsli │ │ ├── BlendUIHDRPS.hlsl │ │ ├── BloomExtractAndDownsampleHdrCS.hlsl │ │ ├── BloomExtractAndDownsampleLdrCS.hlsl │ │ ├── BlurCS.hlsl │ │ ├── BoundNeighborhoodCS.hlsl │ │ ├── BufferCopyPS.hlsl │ │ ├── CameraMotionBlurPrePassCS.hlsl │ │ ├── CameraMotionBlurPrePassLinearZCS.hlsl │ │ ├── CameraVelocityCS.hlsl │ │ ├── ColorSpaceUtility.hlsli │ │ ├── CommonRS.hlsli │ │ ├── CompositeHDRPS.hlsl │ │ ├── CompositeSDRPS.hlsl │ │ ├── CopyBackPostBufferCS.hlsl │ │ ├── DebugDrawHistogramCS.hlsl │ │ ├── DebugLuminanceHdr2CS.hlsl │ │ ├── DebugLuminanceHdrCS.hlsl │ │ ├── DebugLuminanceLdr2CS.hlsl │ │ ├── DebugLuminanceLdrCS.hlsl │ │ ├── DebugSSAOCS.hlsl │ │ ├── DoFCombine2CS.hlsl │ │ ├── DoFCombineCS.hlsl │ │ ├── DoFCombineFast2CS.hlsl │ │ ├── DoFCombineFastCS.hlsl │ │ ├── DoFCommon.hlsli │ │ ├── DoFDebugBlueCS.hlsl │ │ ├── DoFDebugGreenCS.hlsl │ │ ├── DoFDebugRedCS.hlsl │ │ ├── DoFMedianFilterCS.hlsl │ │ ├── DoFMedianFilterFixupCS.hlsl │ │ ├── DoFMedianFilterSepAlphaCS.hlsl │ │ ├── DoFPass1CS.hlsl │ │ ├── DoFPass2CS.hlsl │ │ ├── DoFPass2DebugCS.hlsl │ │ ├── DoFPass2FastCS.hlsl │ │ ├── DoFPass2FixupCS.hlsl │ │ ├── DoFPreFilterCS.hlsl │ │ ├── DoFPreFilterFastCS.hlsl │ │ ├── DoFPreFilterFixupCS.hlsl │ │ ├── DoFRS.hlsli │ │ ├── DoFTilePassCS.hlsl │ │ ├── DoFTilePassFixupCS.hlsl │ │ ├── DoFVRSFullRateCS.hlsl │ │ ├── DoFVRSHalfRateCS.hlsl │ │ ├── DoFVRSQuarterRateCS.hlsl │ │ ├── DownsampleBloomAllCS.hlsl │ │ ├── DownsampleBloomCS.hlsl │ │ ├── DownsampleDepthPS.hlsl │ │ ├── ExtractLumaCS.hlsl │ │ ├── FXAAPass1CS.hlsli │ │ ├── FXAAPass1_Luma2_CS.hlsl │ │ ├── FXAAPass1_Luma_CS.hlsl │ │ ├── FXAAPass1_RGB2_CS.hlsl │ │ ├── FXAAPass1_RGB_CS.hlsl │ │ ├── FXAAPass2CS.hlsli │ │ ├── FXAAPass2H2CS.hlsl │ │ ├── FXAAPass2HCS.hlsl │ │ ├── FXAAPass2HDebug2CS.hlsl │ │ ├── FXAAPass2HDebugCS.hlsl │ │ ├── FXAAPass2V2CS.hlsl │ │ ├── FXAAPass2VCS.hlsl │ │ ├── FXAAPass2VDebug2CS.hlsl │ │ ├── FXAAPass2VDebugCS.hlsl │ │ ├── FXAAResolveWorkQueueCS.hlsl │ │ ├── FXAARootSignature.hlsli │ │ ├── GenerateHistogramCS.hlsl │ │ ├── GenerateMipsCS.hlsli │ │ ├── GenerateMipsGammaCS.hlsl │ │ ├── GenerateMipsGammaOddCS.hlsl │ │ ├── GenerateMipsGammaOddXCS.hlsl │ │ ├── GenerateMipsGammaOddYCS.hlsl │ │ ├── GenerateMipsLinearCS.hlsl │ │ ├── GenerateMipsLinearOddCS.hlsl │ │ ├── GenerateMipsLinearOddXCS.hlsl │ │ ├── GenerateMipsLinearOddYCS.hlsl │ │ ├── ImGuiPS.hlsl │ │ ├── ImGuiVS.hlsl │ │ ├── LanczosCS.hlsl │ │ ├── LanczosFast16CS.hlsl │ │ ├── LanczosFast24CS.hlsl │ │ ├── LanczosFast32CS.hlsl │ │ ├── LanczosFunctions.hlsli │ │ ├── LanczosHorizontalPS.hlsl │ │ ├── LanczosVerticalPS.hlsl │ │ ├── LinearizeDepthCS.hlsl │ │ ├── MagnifyPixelsPS.hlsl │ │ ├── MotionBlurFinalPassCS.hlsl │ │ ├── MotionBlurFinalPassPS.hlsl │ │ ├── MotionBlurFinalPassUnpackedVelocityCS.hlsl │ │ ├── MotionBlurFinalPassUnpackedVelocityPS.hlsl │ │ ├── MotionBlurPrePassCS.hlsl │ │ ├── MotionBlurPrePassUnpackedVelocityCS.hlsl │ │ ├── MotionBlurRS.hlsli │ │ ├── ParticleBinCullingCS.hlsl │ │ ├── ParticleDepthBoundsCS.hlsl │ │ ├── ParticleDispatchIndirectArgsCS.hlsl │ │ ├── ParticleEnableMaskPS.hlsl │ │ ├── ParticleFinalDispatchIndirectArgsCS.hlsl │ │ ├── ParticleLargeBinCullingCS.hlsl │ │ ├── ParticleNoSortVS.hlsl │ │ ├── ParticlePS.hlsl │ │ ├── ParticlePreSortCS.hlsl │ │ ├── ParticleRS.hlsli │ │ ├── ParticleSortIndirectArgsCS.hlsl │ │ ├── ParticleSpawnCS.hlsl │ │ ├── ParticleTileCullingCS.hlsl │ │ ├── ParticleTileRender2CS.hlsl │ │ ├── ParticleTileRender3CS.hlsl │ │ ├── ParticleTileRenderCS.hlsl │ │ ├── ParticleTileRenderFast2CS.hlsl │ │ ├── ParticleTileRenderFast3CS.hlsl │ │ ├── ParticleTileRenderFastCS.hlsl │ │ ├── ParticleTileRenderFastDynamic2CS.hlsl │ │ ├── ParticleTileRenderFastDynamic3CS.hlsl │ │ ├── ParticleTileRenderFastDynamicCS.hlsl │ │ ├── ParticleTileRenderFastLowRes2CS.hlsl │ │ ├── ParticleTileRenderFastLowRes3CS.hlsl │ │ ├── ParticleTileRenderFastLowResCS.hlsl │ │ ├── ParticleTileRenderSlowDynamic2CS.hlsl │ │ ├── ParticleTileRenderSlowDynamic3CS.hlsl │ │ ├── ParticleTileRenderSlowDynamicCS.hlsl │ │ ├── ParticleTileRenderSlowLowRes2CS.hlsl │ │ ├── ParticleTileRenderSlowLowRes3CS.hlsl │ │ ├── ParticleTileRenderSlowLowResCS.hlsl │ │ ├── ParticleUpdateCS.hlsl │ │ ├── ParticleUpdateCommon.hlsli │ │ ├── ParticleUtility.hlsli │ │ ├── ParticleVS.hlsl │ │ ├── PerfGraphBackgroundVS.hlsl │ │ ├── PerfGraphPS.hlsl │ │ ├── PerfGraphRS.hlsli │ │ ├── PerfGraphVS.hlsl │ │ ├── PixelPacking.hlsli │ │ ├── PixelPacking_R11G11B10.hlsli │ │ ├── PixelPacking_RGBE.hlsli │ │ ├── PixelPacking_RGBM.hlsli │ │ ├── PixelPacking_Velocity.hlsli │ │ ├── PostEffectsRS.hlsli │ │ ├── PresentHDRPS.hlsl │ │ ├── PresentRS.hlsli │ │ ├── PresentSDRPS.hlsl │ │ ├── ResolveTAACS.hlsl │ │ ├── SSAORS.hlsli │ │ ├── ScaleAndCompositeHDRPS.hlsl │ │ ├── ScaleAndCompositeSDRPS.hlsl │ │ ├── ScreenQuadCommonVS.hlsl │ │ ├── ScreenQuadPresentVS.hlsl │ │ ├── ShaderUtility.hlsli │ │ ├── SharpenCS.hlsl │ │ ├── SharpenTAACS.hlsl │ │ ├── SharpeningUpsampleGammaPS.hlsl │ │ ├── SharpeningUpsamplePS.hlsl │ │ ├── TemporalBlendCS.hlsl │ │ ├── TextAntialiasPS.hlsl │ │ ├── TextRS.hlsli │ │ ├── TextShadowPS.hlsl │ │ ├── TextVS.hlsl │ │ ├── ToneMap2CS.hlsl │ │ ├── ToneMapCS.hlsl │ │ ├── ToneMapHDR2CS.hlsl │ │ ├── ToneMapHDRCS.hlsl │ │ ├── ToneMappingUtility.hlsli │ │ ├── UpsampleAndBlurCS.hlsl │ │ ├── VRSCommon.hlsli │ │ ├── VRSContrastAdaptive16x16_RGB2_CS.hlsl │ │ ├── VRSContrastAdaptive16x16_RGB_CS.hlsl │ │ ├── VRSContrastAdaptive8x8_RGB2_CS.hlsl │ │ ├── VRSContrastAdaptive8x8_RGB_CS.hlsl │ │ ├── VRSContrastAdaptiveCS_optimized_slm.hlsli │ │ ├── VRSScreenSpaceCS.hlsli │ │ ├── VRSScreenSpace_RGB2_CS.hlsl │ │ ├── VRSScreenSpace_RGB_CS.hlsl │ │ ├── VRSScreenshot_CS.hlsli │ │ ├── VRSScreenshot_RGB2_CS.hlsl │ │ └── VRSScreenshot_RGB_CS.hlsl │ ├── ShadowBuffer.cpp │ ├── ShadowBuffer.h │ ├── ShadowCamera.cpp │ ├── ShadowCamera.h │ ├── SystemTime.cpp │ ├── SystemTime.h │ ├── TemporalEffects.cpp │ ├── TemporalEffects.h │ ├── TextRenderer.cpp │ ├── TextRenderer.h │ ├── Texture.cpp │ ├── Texture.h │ ├── TextureManager.cpp │ ├── TextureManager.h │ ├── UploadBuffer.cpp │ ├── UploadBuffer.h │ ├── Util │ │ ├── CommandLineArg.cpp │ │ ├── CommandLineArg.h │ │ └── stb_image_write.h │ ├── Utility.cpp │ ├── Utility.h │ ├── VRS.cpp │ ├── VRS.h │ ├── VRSScreenshot.cpp │ ├── VRSScreenshot.h │ ├── VectorMath.h │ ├── d3dx12.h │ ├── dds.h │ ├── packages.config │ ├── pch.cpp │ └── pch.h ├── CreateNewLibrary.bat ├── CreateNewSolution.bat ├── Dependencies │ ├── DirectXMesh │ │ ├── .bwoi │ │ │ ├── Directory.Build.props │ │ │ └── SetupBWOI.targets │ │ ├── .editorconfig │ │ ├── .gitattributes │ │ ├── .gitignore │ │ ├── .nuget │ │ │ ├── DirectXMesh-config.cmake.in │ │ │ ├── directxmesh_desktop_2019.nuspec │ │ │ ├── directxmesh_desktop_2019.targets │ │ │ ├── directxmesh_desktop_win10.nuspec │ │ │ ├── directxmesh_desktop_win10.targets │ │ │ ├── directxmesh_uwp.nuspec │ │ │ ├── directxmesh_uwp.targets │ │ │ ├── icon.jpg │ │ │ └── versioninfo.ps1 │ │ ├── CMakeLists.txt │ │ ├── CMakePresets.json │ │ ├── DirectXMesh │ │ │ ├── DirectXMesh.h │ │ │ ├── DirectXMesh.inl │ │ │ ├── DirectXMeshAdjacency.cpp │ │ │ ├── DirectXMeshClean.cpp │ │ │ ├── DirectXMeshConcat.cpp │ │ │ ├── DirectXMeshGSAdjacency.cpp │ │ │ ├── DirectXMeshNormals.cpp │ │ │ ├── DirectXMeshOptimize.cpp │ │ │ ├── DirectXMeshOptimizeLRU.cpp │ │ │ ├── DirectXMeshOptimizeTVC.cpp │ │ │ ├── DirectXMeshP.h │ │ │ ├── DirectXMeshRemap.cpp │ │ │ ├── DirectXMeshTangentFrame.cpp │ │ │ ├── DirectXMeshUtil.cpp │ │ │ ├── DirectXMeshVBReader.cpp │ │ │ ├── DirectXMeshVBWriter.cpp │ │ │ ├── DirectXMeshValidate.cpp │ │ │ ├── DirectXMeshWeldVertices.cpp │ │ │ ├── DirectXMesh_Desktop_2019.vcxproj │ │ │ ├── DirectXMesh_Desktop_2019.vcxproj.filters │ │ │ ├── DirectXMesh_Desktop_2019_Win10.vcxproj │ │ │ ├── DirectXMesh_Desktop_2019_Win10.vcxproj.filters │ │ │ ├── DirectXMesh_Desktop_2022.vcxproj │ │ │ ├── DirectXMesh_Desktop_2022.vcxproj.filters │ │ │ ├── DirectXMesh_Desktop_2022_Win10.vcxproj │ │ │ ├── DirectXMesh_Desktop_2022_Win10.vcxproj.filters │ │ │ ├── DirectXMesh_GDK_2019.vcxproj │ │ │ ├── DirectXMesh_GDK_2019.vcxproj.filters │ │ │ ├── DirectXMesh_GDK_2022.vcxproj │ │ │ ├── DirectXMesh_GDK_2022.vcxproj.filters │ │ │ ├── DirectXMesh_Windows10_2019.vcxproj │ │ │ ├── DirectXMesh_Windows10_2019.vcxproj.filters │ │ │ ├── DirectXMesh_Windows10_2022.vcxproj │ │ │ ├── DirectXMesh_Windows10_2022.vcxproj.filters │ │ │ ├── DirectXMesh_XboxOneXDK_2017.vcxproj │ │ │ ├── DirectXMesh_XboxOneXDK_2017.vcxproj.filters │ │ │ ├── DirectXMeshletGenerator.cpp │ │ │ └── scoped.h │ │ ├── DirectXMesh_Desktop_2019.sln │ │ ├── DirectXMesh_Desktop_2019_Win10.sln │ │ ├── DirectXMesh_Desktop_2022.sln │ │ ├── DirectXMesh_Desktop_2022_Win10.sln │ │ ├── DirectXMesh_GDK_2019.sln │ │ ├── DirectXMesh_GDK_2022.sln │ │ ├── DirectXMesh_Windows10_2019.sln │ │ ├── DirectXMesh_Windows10_2022.sln │ │ ├── DirectXMesh_XboxOneXDK_2017.sln │ │ ├── HISTORY.md │ │ ├── LICENSE │ │ ├── Meshconvert │ │ │ ├── Mesh.cpp │ │ │ ├── Mesh.h │ │ │ ├── MeshOBJ.cpp │ │ │ ├── Meshconvert.cpp │ │ │ ├── Meshconvert_Desktop_2019.vcxproj │ │ │ ├── Meshconvert_Desktop_2019.vcxproj.filters │ │ │ ├── Meshconvert_Desktop_2022.vcxproj │ │ │ ├── Meshconvert_Desktop_2022.vcxproj.filters │ │ │ ├── SDKMesh.h │ │ │ ├── directx.ico │ │ │ └── meshconvert.rc │ │ ├── NuGet.Config │ │ ├── README.md │ │ ├── SECURITY.md │ │ └── Utilities │ │ │ ├── FlexibleVertexFormat.h │ │ │ └── WaveFrontReader.h │ ├── DirectXTex │ │ ├── .editorconfig │ │ ├── .gitattributes │ │ ├── .gitignore │ │ ├── .nuget │ │ │ ├── DirectXTex-config.cmake.in │ │ │ ├── directxtex_desktop_2019.nuspec │ │ │ ├── directxtex_desktop_2019.targets │ │ │ ├── directxtex_desktop_win10.nuspec │ │ │ ├── directxtex_desktop_win10.targets │ │ │ ├── directxtex_uwp.nuspec │ │ │ ├── directxtex_uwp.targets │ │ │ ├── icon.jpg │ │ │ └── versioninfo.ps1 │ │ ├── CMakeLists.txt │ │ ├── CMakePresets.json │ │ ├── DDSTextureLoader │ │ │ ├── DDSTextureLoader11.cpp │ │ │ ├── DDSTextureLoader11.h │ │ │ ├── DDSTextureLoader12.cpp │ │ │ ├── DDSTextureLoader12.h │ │ │ ├── DDSTextureLoader9.cpp │ │ │ └── DDSTextureLoader9.h │ │ ├── DDSView │ │ │ ├── DDSView.rc │ │ │ ├── DDSView_Desktop_2019.vcxproj │ │ │ ├── DDSView_Desktop_2019.vcxproj.filters │ │ │ ├── DDSView_Desktop_2022.vcxproj │ │ │ ├── DDSView_Desktop_2022.vcxproj.filters │ │ │ ├── ddsview.cpp │ │ │ ├── ddsview.fx │ │ │ ├── directx.ico │ │ │ └── hlsl.cmd │ │ ├── DirectXTex │ │ │ ├── BC.cpp │ │ │ ├── BC.h │ │ │ ├── BC4BC5.cpp │ │ │ ├── BC6HBC7.cpp │ │ │ ├── BCDirectCompute.cpp │ │ │ ├── BCDirectCompute.h │ │ │ ├── DDS.h │ │ │ ├── DirectXTex.h │ │ │ ├── DirectXTex.inl │ │ │ ├── DirectXTexCompress.cpp │ │ │ ├── DirectXTexCompressGPU.cpp │ │ │ ├── DirectXTexConvert.cpp │ │ │ ├── DirectXTexD3D11.cpp │ │ │ ├── DirectXTexD3D12.cpp │ │ │ ├── DirectXTexDDS.cpp │ │ │ ├── DirectXTexFlipRotate.cpp │ │ │ ├── DirectXTexHDR.cpp │ │ │ ├── DirectXTexImage.cpp │ │ │ ├── DirectXTexMipmaps.cpp │ │ │ ├── DirectXTexMisc.cpp │ │ │ ├── DirectXTexNormalMaps.cpp │ │ │ ├── DirectXTexP.h │ │ │ ├── DirectXTexPMAlpha.cpp │ │ │ ├── DirectXTexResize.cpp │ │ │ ├── DirectXTexTGA.cpp │ │ │ ├── DirectXTexUtil.cpp │ │ │ ├── DirectXTexWIC.cpp │ │ │ ├── DirectXTex_Desktop_2019.vcxproj │ │ │ ├── DirectXTex_Desktop_2019.vcxproj.filters │ │ │ ├── DirectXTex_Desktop_2019_Win10.vcxproj │ │ │ ├── DirectXTex_Desktop_2019_Win10.vcxproj.filters │ │ │ ├── DirectXTex_Desktop_2022.vcxproj │ │ │ ├── DirectXTex_Desktop_2022.vcxproj.filters │ │ │ ├── DirectXTex_Desktop_2022_Win10.vcxproj │ │ │ ├── DirectXTex_Desktop_2022_Win10.vcxproj.filters │ │ │ ├── DirectXTex_GDK_2019.vcxproj │ │ │ ├── DirectXTex_GDK_2019.vcxproj.filters │ │ │ ├── DirectXTex_GDK_2022.vcxproj │ │ │ ├── DirectXTex_GDK_2022.vcxproj.filters │ │ │ ├── DirectXTex_Windows10_2019.vcxproj │ │ │ ├── DirectXTex_Windows10_2019.vcxproj.filters │ │ │ ├── DirectXTex_Windows10_2022.vcxproj │ │ │ ├── DirectXTex_Windows10_2022.vcxproj.filters │ │ │ ├── DirectXTex_XboxOneXDK_2017.vcxproj │ │ │ ├── DirectXTex_XboxOneXDK_2017.vcxproj.filters │ │ │ ├── Shaders │ │ │ │ ├── BC6HEncode.hlsl │ │ │ │ ├── BC7Encode.hlsl │ │ │ │ └── CompileShaders.cmd │ │ │ ├── d3dx12.h │ │ │ ├── filters.h │ │ │ └── scoped.h │ │ ├── DirectXTex_Desktop_2019.sln │ │ ├── DirectXTex_Desktop_2019_Win10.sln │ │ ├── DirectXTex_Desktop_2022.sln │ │ ├── DirectXTex_Desktop_2022_Win10.sln │ │ ├── DirectXTex_GDK_2019.sln │ │ ├── DirectXTex_GDK_2022.sln │ │ ├── DirectXTex_Windows10_2019.sln │ │ ├── DirectXTex_Windows10_2022.sln │ │ ├── DirectXTex_XboxOneXDK_2017.sln │ │ ├── HISTORY.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── SECURITY.md │ │ ├── ScreenGrab │ │ │ ├── ScreenGrab11.cpp │ │ │ ├── ScreenGrab11.h │ │ │ ├── ScreenGrab12.cpp │ │ │ ├── ScreenGrab12.h │ │ │ ├── ScreenGrab9.cpp │ │ │ └── ScreenGrab9.h │ │ ├── Texassemble │ │ │ ├── AnimatedGif.cpp │ │ │ ├── Texassemble_Desktop_2019.vcxproj │ │ │ ├── Texassemble_Desktop_2019.vcxproj.filters │ │ │ ├── Texassemble_Desktop_2022.vcxproj │ │ │ ├── Texassemble_Desktop_2022.vcxproj.filters │ │ │ ├── directx.ico │ │ │ ├── texassemble.cpp │ │ │ └── texassemble.rc │ │ ├── Texconv │ │ │ ├── ExtendedBMP.cpp │ │ │ ├── PortablePixMap.cpp │ │ │ ├── Texconv.rc │ │ │ ├── Texconv_Desktop_2019.vcxproj │ │ │ ├── Texconv_Desktop_2019.vcxproj.filters │ │ │ ├── Texconv_Desktop_2022.vcxproj │ │ │ ├── Texconv_Desktop_2022.vcxproj.filters │ │ │ ├── directx.ico │ │ │ └── texconv.cpp │ │ ├── Texdiag │ │ │ ├── directx.ico │ │ │ ├── texdiag.cpp │ │ │ ├── texdiag.rc │ │ │ ├── texdiag_Desktop_2019.vcxproj │ │ │ ├── texdiag_Desktop_2019.vcxproj.filters │ │ │ ├── texdiag_Desktop_2022.vcxproj │ │ │ └── texdiag_Desktop_2022.vcxproj.filters │ │ └── WICTextureLoader │ │ │ ├── WICTextureLoader11.cpp │ │ │ ├── WICTextureLoader11.h │ │ │ ├── WICTextureLoader12.cpp │ │ │ ├── WICTextureLoader12.h │ │ │ ├── WICTextureLoader9.cpp │ │ │ └── WICTextureLoader9.h │ ├── WinPixEventRuntime │ │ ├── Include │ │ │ └── WinPixEventRuntime │ │ │ │ ├── PIXEvents.h │ │ │ │ ├── PIXEventsCommon.h │ │ │ │ ├── pix3.h │ │ │ │ └── pix3_win.h │ │ ├── ThirdPartyNotices.txt │ │ ├── bin │ │ │ └── x64 │ │ │ │ ├── WinPixEventRuntime.dll │ │ │ │ └── WinPixEventRuntime.lib │ │ └── license.txt │ ├── imgui │ │ ├── .editorconfig │ │ ├── .gitattributes │ │ ├── .github │ │ │ ├── FUNDING.yml │ │ │ ├── issue_template.md │ │ │ ├── pull_request_template.md │ │ │ └── workflows │ │ │ │ ├── build.yml │ │ │ │ ├── scheduled.yml │ │ │ │ └── static-analysis.yml │ │ ├── .gitignore │ │ ├── LICENSE.txt │ │ ├── backends │ │ │ ├── imgui_impl_allegro5.cpp │ │ │ ├── imgui_impl_allegro5.h │ │ │ ├── imgui_impl_android.cpp │ │ │ ├── imgui_impl_android.h │ │ │ ├── imgui_impl_dx10.cpp │ │ │ ├── imgui_impl_dx10.h │ │ │ ├── imgui_impl_dx11.cpp │ │ │ ├── imgui_impl_dx11.h │ │ │ ├── imgui_impl_dx12.cpp │ │ │ ├── imgui_impl_dx12.h │ │ │ ├── imgui_impl_dx9.cpp │ │ │ ├── imgui_impl_dx9.h │ │ │ ├── imgui_impl_glfw.cpp │ │ │ ├── imgui_impl_glfw.h │ │ │ ├── imgui_impl_glut.cpp │ │ │ ├── imgui_impl_glut.h │ │ │ ├── imgui_impl_marmalade.cpp │ │ │ ├── imgui_impl_marmalade.h │ │ │ ├── imgui_impl_metal.h │ │ │ ├── imgui_impl_metal.mm │ │ │ ├── imgui_impl_opengl2.cpp │ │ │ ├── imgui_impl_opengl2.h │ │ │ ├── imgui_impl_opengl3.cpp │ │ │ ├── imgui_impl_opengl3.h │ │ │ ├── imgui_impl_opengl3_loader.h │ │ │ ├── imgui_impl_osx.h │ │ │ ├── imgui_impl_osx.mm │ │ │ ├── imgui_impl_sdl.cpp │ │ │ ├── imgui_impl_sdl.h │ │ │ ├── imgui_impl_sdlrenderer.cpp │ │ │ ├── imgui_impl_sdlrenderer.h │ │ │ ├── imgui_impl_vulkan.cpp │ │ │ ├── imgui_impl_vulkan.h │ │ │ ├── imgui_impl_wgpu.cpp │ │ │ ├── imgui_impl_wgpu.h │ │ │ ├── imgui_impl_win32.cpp │ │ │ ├── imgui_impl_win32.h │ │ │ └── vulkan │ │ │ │ ├── generate_spv.sh │ │ │ │ ├── glsl_shader.frag │ │ │ │ └── glsl_shader.vert │ │ ├── docs │ │ │ ├── BACKENDS.md │ │ │ ├── CHANGELOG.txt │ │ │ ├── EXAMPLES.md │ │ │ ├── FAQ.md │ │ │ ├── FONTS.md │ │ │ ├── README.md │ │ │ └── TODO.txt │ │ ├── examples │ │ │ ├── README.txt │ │ │ ├── example_allegro5 │ │ │ │ ├── README.md │ │ │ │ ├── example_allegro5.vcxproj │ │ │ │ ├── example_allegro5.vcxproj.filters │ │ │ │ ├── imconfig_allegro5.h │ │ │ │ └── main.cpp │ │ │ ├── example_android_opengl3 │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── android │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── app │ │ │ │ │ │ ├── build.gradle │ │ │ │ │ │ └── src │ │ │ │ │ │ │ └── main │ │ │ │ │ │ │ ├── AndroidManifest.xml │ │ │ │ │ │ │ └── java │ │ │ │ │ │ │ └── MainActivity.kt │ │ │ │ │ ├── build.gradle │ │ │ │ │ └── settings.gradle │ │ │ │ └── main.cpp │ │ │ ├── example_apple_metal │ │ │ │ ├── README.md │ │ │ │ ├── example_apple_metal.xcodeproj │ │ │ │ │ └── project.pbxproj │ │ │ │ ├── iOS │ │ │ │ │ ├── Info-iOS.plist │ │ │ │ │ └── LaunchScreen.storyboard │ │ │ │ ├── macOS │ │ │ │ │ ├── Info-macOS.plist │ │ │ │ │ └── MainMenu.storyboard │ │ │ │ └── main.mm │ │ │ ├── example_apple_opengl2 │ │ │ │ ├── example_apple_opengl2.xcodeproj │ │ │ │ │ └── project.pbxproj │ │ │ │ └── main.mm │ │ │ ├── example_emscripten_opengl3 │ │ │ │ ├── Makefile │ │ │ │ ├── README.md │ │ │ │ ├── main.cpp │ │ │ │ └── shell_minimal.html │ │ │ ├── example_emscripten_wgpu │ │ │ │ ├── Makefile │ │ │ │ ├── README.md │ │ │ │ └── main.cpp │ │ │ ├── example_glfw_metal │ │ │ │ ├── Makefile │ │ │ │ └── main.mm │ │ │ ├── example_glfw_opengl2 │ │ │ │ ├── Makefile │ │ │ │ ├── build_win32.bat │ │ │ │ ├── example_glfw_opengl2.vcxproj │ │ │ │ ├── example_glfw_opengl2.vcxproj.filters │ │ │ │ └── main.cpp │ │ │ ├── example_glfw_opengl3 │ │ │ │ ├── Makefile │ │ │ │ ├── build_win32.bat │ │ │ │ ├── example_glfw_opengl3.vcxproj │ │ │ │ ├── example_glfw_opengl3.vcxproj.filters │ │ │ │ └── main.cpp │ │ │ ├── example_glfw_vulkan │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── build_win32.bat │ │ │ │ ├── build_win64.bat │ │ │ │ ├── example_glfw_vulkan.vcxproj │ │ │ │ ├── example_glfw_vulkan.vcxproj.filters │ │ │ │ └── main.cpp │ │ │ ├── example_glut_opengl2 │ │ │ │ ├── Makefile │ │ │ │ ├── example_glut_opengl2.vcxproj │ │ │ │ ├── example_glut_opengl2.vcxproj.filters │ │ │ │ └── main.cpp │ │ │ ├── example_marmalade │ │ │ │ ├── data │ │ │ │ │ └── app.icf │ │ │ │ ├── main.cpp │ │ │ │ └── marmalade_example.mkb │ │ │ ├── example_null │ │ │ │ ├── Makefile │ │ │ │ ├── build_win32.bat │ │ │ │ └── main.cpp │ │ │ ├── example_sdl_directx11 │ │ │ │ ├── build_win32.bat │ │ │ │ ├── example_sdl_directx11.vcxproj │ │ │ │ ├── example_sdl_directx11.vcxproj.filters │ │ │ │ └── main.cpp │ │ │ ├── example_sdl_metal │ │ │ │ ├── Makefile │ │ │ │ └── main.mm │ │ │ ├── example_sdl_opengl2 │ │ │ │ ├── Makefile │ │ │ │ ├── README.md │ │ │ │ ├── build_win32.bat │ │ │ │ ├── example_sdl_opengl2.vcxproj │ │ │ │ ├── example_sdl_opengl2.vcxproj.filters │ │ │ │ └── main.cpp │ │ │ ├── example_sdl_opengl3 │ │ │ │ ├── Makefile │ │ │ │ ├── README.md │ │ │ │ ├── build_win32.bat │ │ │ │ ├── example_sdl_opengl3.vcxproj │ │ │ │ ├── example_sdl_opengl3.vcxproj.filters │ │ │ │ └── main.cpp │ │ │ ├── example_sdl_sdlrenderer │ │ │ │ ├── Makefile │ │ │ │ ├── README.md │ │ │ │ ├── build_win32.bat │ │ │ │ ├── example_sdl_sdlrenderer.vcxproj │ │ │ │ ├── example_sdl_sdlrenderer.vcxproj.filters │ │ │ │ └── main.cpp │ │ │ ├── example_sdl_vulkan │ │ │ │ ├── build_win32.bat │ │ │ │ ├── example_sdl_vulkan.vcxproj │ │ │ │ ├── example_sdl_vulkan.vcxproj.filters │ │ │ │ └── main.cpp │ │ │ ├── example_win32_directx10 │ │ │ │ ├── build_win32.bat │ │ │ │ ├── example_win32_directx10.vcxproj │ │ │ │ ├── example_win32_directx10.vcxproj.filters │ │ │ │ └── main.cpp │ │ │ ├── example_win32_directx11 │ │ │ │ ├── build_win32.bat │ │ │ │ ├── example_win32_directx11.vcxproj │ │ │ │ ├── example_win32_directx11.vcxproj.filters │ │ │ │ └── main.cpp │ │ │ ├── example_win32_directx12 │ │ │ │ ├── build_win32.bat │ │ │ │ ├── example_win32_directx12.vcxproj │ │ │ │ ├── example_win32_directx12.vcxproj.filters │ │ │ │ └── main.cpp │ │ │ ├── example_win32_directx9 │ │ │ │ ├── build_win32.bat │ │ │ │ ├── example_win32_directx9.vcxproj │ │ │ │ ├── example_win32_directx9.vcxproj.filters │ │ │ │ └── main.cpp │ │ │ ├── imgui_examples.sln │ │ │ └── libs │ │ │ │ ├── glfw │ │ │ │ ├── COPYING.txt │ │ │ │ └── include │ │ │ │ │ └── GLFW │ │ │ │ │ ├── glfw3.h │ │ │ │ │ └── glfw3native.h │ │ │ │ └── usynergy │ │ │ │ ├── README.txt │ │ │ │ ├── uSynergy.c │ │ │ │ └── uSynergy.h │ │ ├── imconfig.h │ │ ├── imgui.cpp │ │ ├── imgui.h │ │ ├── imgui_demo.cpp │ │ ├── imgui_draw.cpp │ │ ├── imgui_internal.h │ │ ├── imgui_tables.cpp │ │ ├── imgui_widgets.cpp │ │ ├── imstb_rectpack.h │ │ ├── imstb_textedit.h │ │ ├── imstb_truetype.h │ │ └── misc │ │ │ ├── README.txt │ │ │ ├── cpp │ │ │ ├── README.txt │ │ │ ├── imgui_stdlib.cpp │ │ │ └── imgui_stdlib.h │ │ │ ├── debuggers │ │ │ ├── README.txt │ │ │ ├── imgui.gdb │ │ │ ├── imgui.natstepfilter │ │ │ └── imgui.natvis │ │ │ ├── fonts │ │ │ ├── Cousine-Regular.ttf │ │ │ ├── DroidSans.ttf │ │ │ ├── Karla-Regular.ttf │ │ │ ├── ProggyClean.ttf │ │ │ ├── ProggyTiny.ttf │ │ │ ├── Roboto-Medium.ttf │ │ │ └── binary_to_compressed_c.cpp │ │ │ ├── freetype │ │ │ ├── README.md │ │ │ ├── imgui_freetype.cpp │ │ │ └── imgui_freetype.h │ │ │ └── single_file │ │ │ └── imgui_single_file.h │ └── zlib │ │ ├── CMakeLists.txt │ │ ├── ChangeLog │ │ ├── FAQ │ │ ├── INDEX │ │ ├── Makefile │ │ ├── Makefile.in │ │ ├── README │ │ ├── adler32.c │ │ ├── amiga │ │ ├── Makefile.pup │ │ └── Makefile.sas │ │ ├── compress.c │ │ ├── configure │ │ ├── contrib │ │ ├── README.contrib │ │ ├── ada │ │ │ ├── buffer_demo.adb │ │ │ ├── mtest.adb │ │ │ ├── read.adb │ │ │ ├── readme.txt │ │ │ ├── test.adb │ │ │ ├── zlib-streams.adb │ │ │ ├── zlib-streams.ads │ │ │ ├── zlib-thin.adb │ │ │ ├── zlib-thin.ads │ │ │ ├── zlib.adb │ │ │ ├── zlib.ads │ │ │ └── zlib.gpr │ │ ├── blast │ │ │ ├── Makefile │ │ │ ├── README │ │ │ ├── blast.c │ │ │ ├── blast.h │ │ │ ├── test.pk │ │ │ └── test.txt │ │ ├── delphi │ │ │ ├── ZLib.pas │ │ │ ├── ZLibConst.pas │ │ │ ├── readme.txt │ │ │ └── zlibd32.mak │ │ ├── dotzlib │ │ │ ├── DotZLib.build │ │ │ ├── DotZLib.chm │ │ │ ├── DotZLib.sln │ │ │ ├── DotZLib │ │ │ │ ├── AssemblyInfo.cs │ │ │ │ ├── ChecksumImpl.cs │ │ │ │ ├── CircularBuffer.cs │ │ │ │ ├── CodecBase.cs │ │ │ │ ├── Deflater.cs │ │ │ │ ├── DotZLib.cs │ │ │ │ ├── DotZLib.csproj │ │ │ │ ├── GZipStream.cs │ │ │ │ ├── Inflater.cs │ │ │ │ └── UnitTests.cs │ │ │ ├── LICENSE_1_0.txt │ │ │ └── readme.txt │ │ ├── gcc_gvmat64 │ │ │ └── gvmat64.S │ │ ├── infback9 │ │ │ ├── README │ │ │ ├── infback9.c │ │ │ ├── infback9.h │ │ │ ├── inffix9.h │ │ │ ├── inflate9.h │ │ │ ├── inftree9.c │ │ │ └── inftree9.h │ │ ├── iostream │ │ │ ├── test.cpp │ │ │ ├── zfstream.cpp │ │ │ └── zfstream.h │ │ ├── iostream2 │ │ │ ├── zstream.h │ │ │ └── zstream_test.cpp │ │ ├── iostream3 │ │ │ ├── README │ │ │ ├── TODO │ │ │ ├── test.cc │ │ │ ├── zfstream.cc │ │ │ └── zfstream.h │ │ ├── minizip │ │ │ ├── Makefile │ │ │ ├── Makefile.am │ │ │ ├── MiniZip64_Changes.txt │ │ │ ├── MiniZip64_info.txt │ │ │ ├── configure.ac │ │ │ ├── crypt.h │ │ │ ├── ioapi.c │ │ │ ├── ioapi.h │ │ │ ├── iowin32.c │ │ │ ├── iowin32.h │ │ │ ├── make_vms.com │ │ │ ├── miniunz.c │ │ │ ├── miniunzip.1 │ │ │ ├── minizip.1 │ │ │ ├── minizip.c │ │ │ ├── minizip.pc.in │ │ │ ├── mztools.c │ │ │ ├── mztools.h │ │ │ ├── unzip.c │ │ │ ├── unzip.h │ │ │ ├── zip.c │ │ │ └── zip.h │ │ ├── pascal │ │ │ ├── example.pas │ │ │ ├── readme.txt │ │ │ ├── zlibd32.mak │ │ │ └── zlibpas.pas │ │ ├── puff │ │ │ ├── Makefile │ │ │ ├── README │ │ │ ├── puff.c │ │ │ ├── puff.h │ │ │ ├── pufftest.c │ │ │ └── zeros.raw │ │ ├── testzlib │ │ │ ├── testzlib.c │ │ │ └── testzlib.txt │ │ ├── untgz │ │ │ ├── Makefile │ │ │ ├── Makefile.msc │ │ │ └── untgz.c │ │ └── vstudio │ │ │ ├── readme.txt │ │ │ ├── vc10 │ │ │ ├── miniunz.vcxproj │ │ │ ├── miniunz.vcxproj.filters │ │ │ ├── minizip.vcxproj │ │ │ ├── minizip.vcxproj.filters │ │ │ ├── testzlib.vcxproj │ │ │ ├── testzlib.vcxproj.filters │ │ │ ├── testzlibdll.vcxproj │ │ │ ├── testzlibdll.vcxproj.filters │ │ │ ├── zlib.rc │ │ │ ├── zlibstat.vcxproj │ │ │ ├── zlibstat.vcxproj.filters │ │ │ ├── zlibvc.def │ │ │ ├── zlibvc.sln │ │ │ ├── zlibvc.vcxproj │ │ │ └── zlibvc.vcxproj.filters │ │ │ ├── vc11 │ │ │ ├── miniunz.vcxproj │ │ │ ├── minizip.vcxproj │ │ │ ├── testzlib.vcxproj │ │ │ ├── testzlibdll.vcxproj │ │ │ ├── zlib.rc │ │ │ ├── zlibstat.vcxproj │ │ │ ├── zlibvc.def │ │ │ ├── zlibvc.sln │ │ │ └── zlibvc.vcxproj │ │ │ ├── vc12 │ │ │ ├── miniunz.vcxproj │ │ │ ├── minizip.vcxproj │ │ │ ├── testzlib.vcxproj │ │ │ ├── testzlibdll.vcxproj │ │ │ ├── zlib.rc │ │ │ ├── zlibstat.vcxproj │ │ │ ├── zlibvc.def │ │ │ ├── zlibvc.sln │ │ │ └── zlibvc.vcxproj │ │ │ ├── vc14 │ │ │ ├── miniunz.vcxproj │ │ │ ├── minizip.vcxproj │ │ │ ├── testzlib.vcxproj │ │ │ ├── testzlibdll.vcxproj │ │ │ ├── zlib.rc │ │ │ ├── zlibstat.vcxproj │ │ │ ├── zlibvc.def │ │ │ ├── zlibvc.sln │ │ │ └── zlibvc.vcxproj │ │ │ └── vc9 │ │ │ ├── miniunz.vcproj │ │ │ ├── minizip.vcproj │ │ │ ├── testzlib.vcproj │ │ │ ├── testzlibdll.vcproj │ │ │ ├── zlib.rc │ │ │ ├── zlibstat.vcproj │ │ │ ├── zlibvc.def │ │ │ ├── zlibvc.sln │ │ │ └── zlibvc.vcproj │ │ ├── crc32.c │ │ ├── crc32.h │ │ ├── deflate.c │ │ ├── deflate.h │ │ ├── doc │ │ ├── algorithm.txt │ │ ├── crc-doc.1.0.pdf │ │ ├── rfc1950.txt │ │ ├── rfc1951.txt │ │ ├── rfc1952.txt │ │ └── txtvsbin.txt │ │ ├── examples │ │ ├── README.examples │ │ ├── enough.c │ │ ├── fitblk.c │ │ ├── gun.c │ │ ├── gzappend.c │ │ ├── gzjoin.c │ │ ├── gzlog.c │ │ ├── gzlog.h │ │ ├── gznorm.c │ │ ├── zlib_how.html │ │ ├── zpipe.c │ │ ├── zran.c │ │ └── zran.h │ │ ├── gzclose.c │ │ ├── gzguts.h │ │ ├── gzlib.c │ │ ├── gzread.c │ │ ├── gzwrite.c │ │ ├── infback.c │ │ ├── inffast.c │ │ ├── inffast.h │ │ ├── inffixed.h │ │ ├── inflate.c │ │ ├── inflate.h │ │ ├── inftrees.c │ │ ├── inftrees.h │ │ ├── make_vms.com │ │ ├── msdos │ │ ├── Makefile.bor │ │ ├── Makefile.dj2 │ │ ├── Makefile.emx │ │ ├── Makefile.msc │ │ └── Makefile.tc │ │ ├── nintendods │ │ ├── Makefile │ │ └── README │ │ ├── old │ │ ├── Makefile.emx │ │ ├── Makefile.riscos │ │ ├── README │ │ ├── descrip.mms │ │ ├── os2 │ │ │ ├── Makefile.os2 │ │ │ └── zlib.def │ │ └── visual-basic.txt │ │ ├── os400 │ │ ├── README400 │ │ ├── bndsrc │ │ ├── make.sh │ │ └── zlib.inc │ │ ├── qnx │ │ └── package.qpg │ │ ├── test │ │ ├── example.c │ │ ├── infcover.c │ │ └── minigzip.c │ │ ├── treebuild.xml │ │ ├── trees.c │ │ ├── trees.h │ │ ├── uncompr.c │ │ ├── watcom │ │ ├── watcom_f.mak │ │ └── watcom_l.mak │ │ ├── win32 │ │ ├── DLL_FAQ.txt │ │ ├── Makefile.bor │ │ ├── Makefile.gcc │ │ ├── Makefile.msc │ │ ├── README-WIN32.txt │ │ ├── VisualC.txt │ │ ├── zlib.def │ │ └── zlib1.rc │ │ ├── zconf.h.cmakein │ │ ├── zconf.h.in │ │ ├── zconf.h.included │ │ ├── zlib.3 │ │ ├── zlib.3.pdf │ │ ├── zlib.h │ │ ├── zlib.map │ │ ├── zlib.pc.cmakein │ │ ├── zlib.pc.in │ │ ├── zlib2ansi │ │ ├── zutil.c │ │ └── zutil.h ├── License.txt ├── Model │ ├── Animation.cpp │ ├── Animation.h │ ├── BuildH3D.cpp │ ├── ConstantBuffers.h │ ├── IndexOptimizePostTransform.cpp │ ├── IndexOptimizePostTransform.h │ ├── LightManager.cpp │ ├── LightManager.h │ ├── MeshConvert.cpp │ ├── MeshConvert.h │ ├── Model.cpp │ ├── Model.h │ ├── Model.vcxproj │ ├── Model.vcxproj.filters │ ├── ModelConvert.cpp │ ├── ModelH3D.cpp │ ├── ModelH3D.h │ ├── ModelLoader.cpp │ ├── ModelLoader.h │ ├── ParticleEffects.cpp │ ├── ParticleEffects.h │ ├── Renderer.cpp │ ├── Renderer.h │ ├── Shaders │ │ ├── BRDF.hlsli │ │ ├── Common.hlsli │ │ ├── CutoutDepthPS.hlsl │ │ ├── CutoutDepthSkinVS.hlsl │ │ ├── CutoutDepthVS.hlsl │ │ ├── DefaultNoTangentNoUV1PS.hlsl │ │ ├── DefaultNoTangentNoUV1SkinVS.hlsl │ │ ├── DefaultNoTangentNoUV1VS.hlsl │ │ ├── DefaultNoTangentPS.hlsl │ │ ├── DefaultNoTangentSkinVS.hlsl │ │ ├── DefaultNoTangentVS.hlsl │ │ ├── DefaultNoUV1PS.hlsl │ │ ├── DefaultNoUV1SkinVS.hlsl │ │ ├── DefaultNoUV1VS.hlsl │ │ ├── DefaultPS.hlsl │ │ ├── DefaultSkinVS.hlsl │ │ ├── DefaultVS.hlsl │ │ ├── DepthOnlySkinVS.hlsl │ │ ├── DepthOnlyVS.hlsl │ │ ├── DepthViewerPS.hlsl │ │ ├── DepthViewerVS.hlsl │ │ ├── FillLightGrid16CS.hlsl │ │ ├── FillLightGrid24CS.hlsl │ │ ├── FillLightGrid32CS.hlsl │ │ ├── FillLightGrid8CS.hlsl │ │ ├── FillLightGridCS.hlsli │ │ ├── LightGrid.hlsli │ │ ├── Lighting.hlsli │ │ ├── LightingPBR.hlsli │ │ ├── ModelViewerPS.hlsl │ │ ├── ModelViewerVS.hlsl │ │ ├── SkyboxPS.hlsl │ │ └── SkyboxVS.hlsl │ ├── SponzaRenderer.cpp │ ├── SponzaRenderer.h │ ├── TextureConvert.cpp │ ├── TextureConvert.h │ ├── glTF.cpp │ ├── glTF.h │ └── json.hpp ├── ModelConverter │ ├── IndexOptimizePostTransform.cpp │ ├── IndexOptimizePostTransform.h │ ├── Main.cpp │ ├── ModelAssimp.cpp │ ├── ModelAssimp.h │ ├── ModelConverter_VS15.sln │ ├── ModelConverter_VS15.vcxproj │ ├── ModelConverter_VS15.vcxproj.filters │ ├── ModelOptimize.cpp │ ├── README.txt │ ├── packages.config │ └── readme.md ├── NuGet.Config ├── PropertySheets │ ├── Build.props │ └── Desktop.props ├── Tools │ ├── SDFFontCreator │ │ ├── .gitignore │ │ ├── NuGet.Config │ │ ├── SDFFontCreator.cpp │ │ ├── SDFFontCreator_VS15.sln │ │ ├── SDFFontCreator_VS15.vcxproj │ │ ├── SDFFontCreator_VS15.vcxproj.filters │ │ └── packages.config │ └── Scripts │ │ ├── BinaryFileToCHeader.py │ │ ├── CleanFiles.py │ │ ├── CreateNewProject.py │ │ ├── GenerateDoFSampleOffsets.py │ │ ├── ProjectTemplates │ │ ├── AppTemplate.sln │ │ ├── AppTemplate.vcxproj │ │ ├── AppTemplate.vcxproj.filters │ │ ├── LibTemplate.vcxproj │ │ ├── LibTemplate.vcxproj.filters │ │ ├── Logo.png │ │ ├── Logo44.png │ │ ├── Main.cpp │ │ ├── SmallLogo.png │ │ ├── SplashScreen.png │ │ ├── StoreLogo.png │ │ ├── WideLogo.png │ │ ├── packages.config │ │ ├── pch.cpp │ │ └── pch.h │ │ └── TargaToDDS.py └── readme.md ├── README.md ├── Script └── utility.cmake └── Source ├── DemoApp.cpp ├── DemoApp.h ├── DemoCameraController.cpp ├── DemoCameraController.h ├── DemoExtraBuffers.cpp ├── DemoExtraBuffers.h ├── DemoGui.cpp ├── DemoGui.h ├── DemoLog.h ├── VRSTest.cpp ├── VRSTest.h ├── XeSS ├── Shaders │ ├── Debug │ │ ├── XeSSDebugSimpleUpsamplePS.hlsl │ │ └── XeSSDebugSimpleUpsampleRGBAPS.hlsl │ ├── XeSSConvertLowResVelocityCS.hlsl │ ├── XeSSConvertLowResVelocityNDCCS.hlsl │ ├── XeSSGenerateHiResVelocityCS.hlsl │ └── XeSSGenerateHiResVelocityNDCCS.hlsl ├── XeSSDebug.cpp ├── XeSSDebug.h ├── XeSSJitter.cpp ├── XeSSJitter.h ├── XeSSProcess.cpp ├── XeSSProcess.h ├── XeSSRuntime.cpp └── XeSSRuntime.h ├── XeSSDemo.manifest ├── pch.cpp └── pch.h /.gitignore: -------------------------------------------------------------------------------- 1 | # Prerequisites 2 | *.d 3 | 4 | # Compiled Object files 5 | *.slo 6 | *.lo 7 | *.o 8 | *.obj 9 | 10 | # Precompiled Headers 11 | *.gch 12 | *.pch 13 | 14 | # Compiled Dynamic libraries 15 | *.so 16 | *.dylib 17 | *.dll 18 | 19 | # Fortran module files 20 | *.mod 21 | *.smod 22 | 23 | # Compiled Static libraries 24 | *.lai 25 | *.la 26 | *.a 27 | *.lib 28 | 29 | # Executables 30 | *.exe 31 | *.out 32 | *.app 33 | 34 | # Build output directory 35 | build 36 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "xess"] 2 | path = xess 3 | url = https://github.com/intel/xess 4 | -------------------------------------------------------------------------------- /Assets/Particle/fire.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Particle/fire.dds -------------------------------------------------------------------------------- /Assets/Particle/smoke.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Particle/smoke.dds -------------------------------------------------------------------------------- /Assets/Particle/sparkTex.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Particle/sparkTex.dds -------------------------------------------------------------------------------- /Assets/Sponza/README.txt: -------------------------------------------------------------------------------- 1 | The original PBR version of Sponza within MiniEngine is modifed to reduce the overal size. -------------------------------------------------------------------------------- /Assets/Sponza/pbr/background_baseColor.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/background_baseColor.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/background_metallicRoughness.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/background_metallicRoughness.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/background_normal.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/background_normal.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/chain_texture_baseColor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/chain_texture_baseColor.png -------------------------------------------------------------------------------- /Assets/Sponza/pbr/chain_texture_metallicRoughness.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/chain_texture_metallicRoughness.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/chain_texture_normal.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/chain_texture_normal.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/lion_baseColor.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/lion_baseColor.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/lion_metallicRoughness.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/lion_metallicRoughness.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/lion_normal.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/lion_normal.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza2.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza2.bin -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_arch_baseColor.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_arch_baseColor.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_arch_metallicRoughness.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_arch_metallicRoughness.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_arch_normal.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_arch_normal.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_bricks_a_baseColor.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_bricks_a_baseColor.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_bricks_a_metallicRoughness.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_bricks_a_metallicRoughness.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_bricks_a_normal.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_bricks_a_normal.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_ceiling_a_baseColor.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_ceiling_a_baseColor.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_ceiling_a_metallicRoughness.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_ceiling_a_metallicRoughness.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_ceiling_a_normal.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_ceiling_a_normal.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_column_a_baseColor.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_column_a_baseColor.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_column_a_metallicRoughness.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_column_a_metallicRoughness.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_column_a_normal.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_column_a_normal.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_column_b_baseColor.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_column_b_baseColor.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_column_b_metallicRoughness.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_column_b_metallicRoughness.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_column_b_normal.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_column_b_normal.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_column_c_baseColor.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_column_c_baseColor.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_column_c_metallicRoughness.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_column_c_metallicRoughness.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_column_c_normal.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_column_c_normal.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_curtain_baseColor.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_curtain_baseColor.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_curtain_blue_baseColor.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_curtain_blue_baseColor.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_curtain_green_baseColor.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_curtain_green_baseColor.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_curtain_metallicRoughness.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_curtain_metallicRoughness.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_curtain_normal.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_curtain_normal.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_details_baseColor.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_details_baseColor.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_details_metallicRoughness.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_details_metallicRoughness.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_details_normal.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_details_normal.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_fabric_baseColor.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_fabric_baseColor.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_fabric_blue_baseColor.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_fabric_blue_baseColor.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_fabric_green_baseColor.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_fabric_green_baseColor.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_fabric_metallicRoughness.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_fabric_metallicRoughness.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_fabric_normal.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_fabric_normal.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_flagpole_baseColor.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_flagpole_baseColor.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_flagpole_metallicRoughness.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_flagpole_metallicRoughness.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_flagpole_normal.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_flagpole_normal.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_floor_a_baseColor.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_floor_a_baseColor.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_floor_a_metallicRoughness.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_floor_a_metallicRoughness.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_floor_a_normal.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_floor_a_normal.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_roof_baseColor.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_roof_baseColor.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_roof_metallicRoughness.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_roof_metallicRoughness.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_roof_normal.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_roof_normal.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_thorn_baseColor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_thorn_baseColor.png -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_thorn_metallicRoughness.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_thorn_metallicRoughness.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/sponza_thorn_normal.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/sponza_thorn_normal.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/vase_baseColor.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/vase_baseColor.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/vase_hanging_baseColor.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/vase_hanging_baseColor.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/vase_hanging_metallicRoughness.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/vase_hanging_metallicRoughness.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/vase_hanging_normal.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/vase_hanging_normal.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/vase_metallicRoughness.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/vase_metallicRoughness.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/vase_normal.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/vase_normal.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/vase_plant_baseColor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/vase_plant_baseColor.png -------------------------------------------------------------------------------- /Assets/Sponza/pbr/vase_plant_metallicRoughness.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/vase_plant_metallicRoughness.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/vase_plant_normal.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/vase_plant_normal.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/vase_round_baseColor.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/vase_round_baseColor.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/vase_round_metallicRoughness.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/vase_round_metallicRoughness.jpg -------------------------------------------------------------------------------- /Assets/Sponza/pbr/vase_round_normal.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Sponza/pbr/vase_round_normal.jpg -------------------------------------------------------------------------------- /Assets/Textures/BRDF_LUT.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Textures/BRDF_LUT.dds -------------------------------------------------------------------------------- /Assets/Textures/Blouberg_diffuseIBL.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Textures/Blouberg_diffuseIBL.dds -------------------------------------------------------------------------------- /Assets/Textures/Blouberg_specularIBL.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/Assets/Textures/Blouberg_specularIBL.dds -------------------------------------------------------------------------------- /Assets/Textures/README.txt: -------------------------------------------------------------------------------- 1 | Blouberg HDRI from - https://polyhaven.com/a/blouberg_sunrise_2, under CC0 license. -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2023 GameTechDev 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /MiniEngine/.gitignore: -------------------------------------------------------------------------------- 1 | *.user 2 | *.suo 3 | *.VC.db* 4 | *.shader_inc 5 | *.vspscc 6 | *.opensdf 7 | *.sdf 8 | *.ipch 9 | *.cache 10 | *.tlog 11 | *.lastbuildstate 12 | *.ilk 13 | *.log 14 | * - Copy*.* 15 | Build_VS11 16 | Build_VS12 17 | Build_VS14 18 | Build_VS15 19 | Build 20 | Packages 21 | /ModelConverter/assimp.dll 22 | Packages -------------------------------------------------------------------------------- /MiniEngine/Core/Cube.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author(s): Jack Elliott 12 | // 13 | 14 | #pragma once 15 | 16 | #include "GpuBuffer.h" 17 | #include "GraphicsCore.h" 18 | 19 | namespace Graphics 20 | { 21 | namespace Shapes 22 | { 23 | namespace Cube 24 | { 25 | struct CubeVertex 26 | { 27 | XMFLOAT3 position; 28 | XMFLOAT2 texcoord; 29 | XMFLOAT3 normal; 30 | XMFLOAT3 tangent; 31 | XMFLOAT3 bitangent; 32 | }; 33 | 34 | extern ByteAddressBuffer g_CubeVerts; 35 | extern uint32_t g_NumVerts; 36 | extern uint32_t g_NumIndicies; 37 | 38 | void InitializeCubeBuffers(); 39 | void DestroyCubeBuffers(); 40 | } 41 | } 42 | } -------------------------------------------------------------------------------- /MiniEngine/Core/DepthOfField.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #pragma once 15 | 16 | #include "EngineTuning.h" 17 | 18 | class ComputeContext; 19 | 20 | namespace DepthOfField 21 | { 22 | extern BoolVar Enable; 23 | 24 | void Initialize( void ); 25 | void Shutdown( void ); 26 | 27 | void Render( CommandContext& BaseContext, float NearClipDist, float FarClipDist ); 28 | void RenderVRSBuffer(ComputeContext& Context, bool LowQuality); 29 | } 30 | -------------------------------------------------------------------------------- /MiniEngine/Core/EsramAllocator.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #pragma once 15 | 16 | #include "pch.h" 17 | 18 | class EsramAllocator 19 | { 20 | public: 21 | EsramAllocator() {} 22 | 23 | void PushStack() {} 24 | void PopStack() {} 25 | 26 | D3D12_GPU_VIRTUAL_ADDRESS Alloc( size_t size, size_t align, const std::wstring& bufferName ) 27 | { 28 | (size); (align); (bufferName); 29 | return D3D12_GPU_VIRTUAL_ADDRESS_UNKNOWN; 30 | } 31 | 32 | intptr_t SizeOfFreeSpace( void ) const 33 | { 34 | return 0; 35 | } 36 | 37 | }; 38 | -------------------------------------------------------------------------------- /MiniEngine/Core/FXAA.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #pragma once 15 | 16 | class ColorBuffer; 17 | class BoolVar; 18 | class NumVar; 19 | class ComputeContext; 20 | 21 | namespace FXAA 22 | { 23 | extern BoolVar Enable; 24 | extern BoolVar DebugDraw; 25 | extern NumVar ContrastThreshold; // Default = 0.20 26 | extern NumVar SubpixelRemoval; // Default = 0.75 27 | 28 | void Initialize( void ); 29 | void Shutdown( void ); 30 | void Render( ComputeContext& Context, bool bUsePreComputedLuma ); 31 | 32 | } // namespace FXAA 33 | -------------------------------------------------------------------------------- /MiniEngine/Core/GraphRenderer.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: Julia Careaga 12 | // 13 | 14 | #include "GraphicsCore.h" 15 | 16 | namespace GraphRenderer 17 | { 18 | void Initialize(); 19 | void Shutdown(); 20 | 21 | enum class GraphType { Global, Profile }; 22 | typedef uint32_t GraphHandle; 23 | 24 | bool ManageGraphs( GraphHandle graphID, GraphType Type ); 25 | GraphHandle InitGraph( GraphType Type ); 26 | Color GetGraphColor( GraphHandle GraphID, GraphType Type); 27 | XMFLOAT4 GetMaxAvg( GraphType Type ); 28 | void Update( XMFLOAT2 InputNode, GraphHandle GraphID, GraphType Type); 29 | void RenderGraphs( GraphicsContext& Context, GraphType Type ); 30 | 31 | void SetSelectedIndex(uint32_t selectedIndex); 32 | 33 | } // namespace GraphRenderer 34 | -------------------------------------------------------------------------------- /MiniEngine/Core/ImageScaling.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | 12 | #pragma once 13 | 14 | class GraphicsContext; 15 | class ColorBuffer; 16 | enum DXGI_FORMAT; 17 | 18 | namespace ImageScaling 19 | { 20 | void Initialize(DXGI_FORMAT DestFormat); 21 | 22 | enum eScalingFilter { kBilinear, kSharpening, kBicubic, kLanczos, kFilterCount }; 23 | 24 | void Upscale(GraphicsContext& Context, ColorBuffer& dest, ColorBuffer& source, eScalingFilter tech = kLanczos); 25 | } -------------------------------------------------------------------------------- /MiniEngine/Core/ReadbackBuffer.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #pragma once 15 | 16 | #include "GpuBuffer.h" 17 | 18 | class ReadbackBuffer : public GpuBuffer 19 | { 20 | public: 21 | virtual ~ReadbackBuffer() { Destroy(); } 22 | 23 | void Create( const std::wstring& name, uint32_t NumElements, uint32_t ElementSize ); 24 | 25 | void* Map(void); 26 | void Unmap(void); 27 | 28 | protected: 29 | 30 | void CreateDerivedViews(void) {} 31 | 32 | }; 33 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/AoBlurUpsampleBlendOutCS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #define BLEND_WITH_HIGHER_RESOLUTION 15 | 16 | #include "AoBlurAndUpsampleCS.hlsli" 17 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/AoBlurUpsampleCS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #include "AoBlurAndUpsampleCS.hlsli" 15 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/AoBlurUpsamplePreMinBlendOutCS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #define COMBINE_LOWER_RESOLUTIONS 15 | #define BLEND_WITH_HIGHER_RESOLUTION 16 | 17 | #include "AoBlurAndUpsampleCS.hlsli" 18 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/AoBlurUpsamplePreMinCS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #define COMBINE_LOWER_RESOLUTIONS 15 | 16 | #include "AoBlurAndUpsampleCS.hlsli" 17 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/AoRender1CS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #define INTERLEAVE_RESULT 15 | #include "AoRenderCS.hlsli" 16 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/AoRender2CS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | 15 | #include "AoRenderCS.hlsli" 16 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/ApplyBloom2CS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #define SUPPORT_TYPED_UAV_LOADS 1 15 | #include "ApplyBloomCS.hlsl" 16 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/BicubicUpsampleFast16CS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // The "fast path" Lanczos filter can be used when the source tile dimensions 12 | // plus the border pixels (3) fit inside 16x16. This reduces bandwidth and 13 | // uses more efficient Math. To determine this case, use the following logic: 14 | // 15 | // bool EnableFastPath = all(srcDim.xy / dstDim.xy <= 13.0 / 16.0); 16 | // 17 | 18 | #define TILE_DIM_X 16 19 | #define TILE_DIM_Y 16 20 | #define ENABLE_FAST_PATH 1 21 | #include "BicubicUpsampleCS.hlsl" 22 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/BicubicUpsampleFast24CS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // The "fast path" Lanczos filter can be used when the source tile dimensions 12 | // plus the border pixels (3) fit inside 16x16. This reduces bandwidth and 13 | // uses more efficient Math. To determine this case, use the following logic: 14 | // 15 | // bool EnableFastPath = all(srcDim.xy / dstDim.xy <= 21.0 / 24.0); 16 | // 17 | 18 | #define TILE_DIM_X 32 19 | #define TILE_DIM_Y 24 20 | #define ENABLE_FAST_PATH 1 21 | #include "BicubicUpsampleCS.hlsl" 22 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/BicubicUpsampleFast32CS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // The "fast path" Lanczos filter can be used when the source tile dimensions 12 | // plus the border pixels (3) fit inside 16x16. This reduces bandwidth and 13 | // uses more efficient Math. To determine this case, use the following logic: 14 | // 15 | // bool EnableFastPath = all(srcDim.xy / dstDim.xy <= 29.0 / 32.0); 16 | // 17 | 18 | #define TILE_DIM_X 32 19 | #define TILE_DIM_Y 32 20 | #define ENABLE_FAST_PATH 1 21 | #include "BicubicUpsampleCS.hlsl" 22 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/BicubicUpsampleGammaPS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #define GAMMA_SPACE 15 | #include "BicubicUpsamplePS.hlsl" 16 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/BilinearUpsamplePS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | 13 | #include "ShaderUtility.hlsli" 14 | #include "PresentRS.hlsli" 15 | 16 | Texture2D ColorTex : register(t0); 17 | 18 | SamplerState BilinearFilter : register(s0); 19 | 20 | [RootSignature(Present_RootSig)] 21 | float3 main( float4 position : SV_Position, float2 uv : TexCoord0 ) : SV_Target0 22 | { 23 | float3 LinearRGB = RemoveDisplayProfile(ColorTex.SampleLevel(BilinearFilter, uv, 0), LDR_COLOR_FORMAT); 24 | return ApplyDisplayProfile(LinearRGB, DISPLAY_PLANE_FORMAT); 25 | } 26 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/Bitonic64InnerSortCS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #define BITONICSORT_64BIT 15 | #include "Bitonic32InnerSortCS.hlsl" 16 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/Bitonic64OuterSortCS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #define BITONICSORT_64BIT 15 | #include "Bitonic32OuterSortCS.hlsl" 16 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/Bitonic64PreSortCS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #define BITONICSORT_64BIT 15 | #include "Bitonic32PreSortCS.hlsl" 16 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/BlendUIHDRPS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #include "PresentRS.hlsli" 15 | #include "ColorSpaceUtility.hlsli" 16 | 17 | Texture2D Overlay : register(t0); 18 | 19 | cbuffer CB0 : register(b0) 20 | { 21 | float PaperWhiteRatio; // PaperWhite / 10000.0 22 | float MaxBrightness; 23 | } 24 | 25 | [RootSignature(Present_RootSig)] 26 | float4 main( float4 position : SV_Position ) : SV_Target0 27 | { 28 | float4 UI = Overlay[(int2)position.xy]; 29 | UI.rgb = RemoveSRGBCurve(UI.rgb); 30 | UI.rgb = REC709toREC2020(UI.rgb / (UI.a == 0.0 ? 1.0 : UI.a)); 31 | UI.rgb = ApplyREC2084Curve(UI.rgb * PaperWhiteRatio); 32 | return float4(UI.rgb, 1) * UI.a; 33 | } 34 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/BufferCopyPS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #include "PresentRS.hlsli" 15 | 16 | Texture2D ColorTex : register(t0); 17 | SamplerState BilinearSampler : register(s0); 18 | 19 | cbuffer Constants : register(b0) 20 | { 21 | float2 RcpDestDim; 22 | } 23 | 24 | [RootSignature(Present_RootSig)] 25 | float4 main( float4 position : SV_Position ) : SV_Target0 26 | { 27 | //float2 UV = saturate(RcpDestDim * position.xy); 28 | //return ColorTex.SampleLevel(BilinearSampler, UV, 0); 29 | return ColorTex[(int2)position.xy]; 30 | } 31 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/CameraMotionBlurPrePassLinearZCS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | 13 | #define USE_LINEAR_Z 14 | #include "CameraMotionBlurPrePassCS.hlsl" 15 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/CompositeSDRPS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #include "ShaderUtility.hlsli" 15 | #include "PresentRS.hlsli" 16 | 17 | Texture2D MainBuffer : register(t0); 18 | Texture2D OverlayBuffer : register(t1); 19 | 20 | [RootSignature(Present_RootSig)] 21 | float3 main( float4 position : SV_Position ) : SV_Target0 22 | { 23 | float3 MainColor = ApplyDisplayProfile(MainBuffer[(int2)position.xy], DISPLAY_PLANE_FORMAT); 24 | float4 OverlayColor = OverlayBuffer[(int2)position.xy]; 25 | return OverlayColor.rgb + MainColor.rgb * (1.0 - OverlayColor.a); 26 | } 27 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/CopyBackPostBufferCS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #include "PostEffectsRS.hlsli" 15 | #include "PixelPacking.hlsli" 16 | 17 | RWTexture2D SceneColor : register( u0 ); 18 | Texture2D PostBuffer : register( t0 ); 19 | 20 | [RootSignature(PostEffects_RootSig)] 21 | [numthreads( 8, 8, 1 )] 22 | void main( uint3 DTid : SV_DispatchThreadID ) 23 | { 24 | SceneColor[DTid.xy] = Unpack_R11G11B10_FLOAT(PostBuffer[DTid.xy]); 25 | } 26 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/DebugLuminanceHdr2CS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #define SUPPORT_TYPED_UAV_LOADS 1 15 | #include "DebugLuminanceHdrCS.hlsl" 16 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/DebugLuminanceLdr2CS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #define SUPPORT_TYPED_UAV_LOADS 1 15 | #include "DebugLuminanceLdrCS.hlsl" 16 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/DebugSSAOCS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #include "SSAORS.hlsli" 15 | 16 | Texture2D SsaoBuffer : register( t0 ); 17 | RWTexture2D OutColor : register( u0 ); 18 | 19 | [RootSignature(SSAO_RootSig)] 20 | [numthreads( 8, 8, 1 )] 21 | void main( uint3 DTid : SV_DispatchThreadID ) 22 | { 23 | OutColor[DTid.xy] = SsaoBuffer[DTid.xy].xxx; 24 | } 25 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/DoFCombine2CS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #define SUPPORT_TYPED_UAV_LOADS 1 15 | #include "DoFCombineCS.hlsl" 16 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/DoFCombineFast2CS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #define SUPPORT_TYPED_UAV_LOADS 1 15 | #include "DoFCombineFastCS.hlsl" 16 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/DoFDebugBlueCS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #include "DoFCommon.hlsli" 15 | 16 | StructuredBuffer WorkQueue : register(t5); 17 | RWTexture2D DstColor : register(u0); 18 | 19 | [RootSignature(DoF_RootSig)] 20 | [numthreads( 16, 16, 1 )] 21 | void main( uint3 Gid : SV_GroupID, uint3 GTid : SV_GroupThreadID ) 22 | { 23 | uint TileCoord = WorkQueue[Gid.x]; 24 | uint2 Tile = uint2(TileCoord & 0xFFFF, TileCoord >> 16); 25 | uint2 st = Tile * 16 + GTid.xy; 26 | 27 | DstColor[st] = float3(0, 0, 1); 28 | } 29 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/DoFDebugGreenCS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #include "DoFCommon.hlsli" 15 | 16 | StructuredBuffer WorkQueue : register(t5); 17 | RWTexture2D DstColor : register(u0); 18 | 19 | [RootSignature(DoF_RootSig)] 20 | [numthreads( 16, 16, 1 )] 21 | void main( uint3 Gid : SV_GroupID, uint3 GTid : SV_GroupThreadID ) 22 | { 23 | uint TileCoord = WorkQueue[Gid.x]; 24 | uint2 Tile = uint2(TileCoord & 0xFFFF, TileCoord >> 16); 25 | uint2 st = Tile * 16 + GTid.xy; 26 | 27 | DstColor[st] = float3(0, 1, 0); 28 | } 29 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/DoFDebugRedCS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #include "DoFCommon.hlsli" 15 | 16 | StructuredBuffer WorkQueue : register(t5); 17 | RWTexture2D DstColor : register(u0); 18 | 19 | [RootSignature(DoF_RootSig)] 20 | [numthreads( 16, 16, 1 )] 21 | void main( uint3 Gid : SV_GroupID, uint3 GTid : SV_GroupThreadID ) 22 | { 23 | uint TileCoord = WorkQueue[Gid.x]; 24 | uint2 Tile = uint2(TileCoord & 0xFFFF, TileCoord >> 16); 25 | uint2 st = Tile * 16 + GTid.xy; 26 | 27 | DstColor[st] = float3(1, 0, 0); 28 | } 29 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/DoFMedianFilterFixupCS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #include "DoFCommon.hlsli" 15 | 16 | Texture2D InputColor : register(t0); 17 | Texture2D InputAlpha : register(t1); 18 | StructuredBuffer WorkQueue : register(t2); 19 | RWTexture2D OutputColor : register(u0); 20 | RWTexture2D OutputAlpha : register(u1); 21 | 22 | [RootSignature(DoF_RootSig)] 23 | [numthreads( 8, 8, 1 )] 24 | void main( uint3 Gid : SV_GroupID, uint3 GTid : SV_GroupThreadID ) 25 | { 26 | uint TileCoord = WorkQueue[Gid.x]; 27 | uint2 Tile = uint2(TileCoord & 0xFFFF, TileCoord >> 16); 28 | uint2 st = Tile * 8 + GTid.xy; 29 | 30 | OutputColor[st] = InputColor[st]; 31 | OutputAlpha[st] = InputAlpha[st]; 32 | } 33 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/DoFMedianFilterSepAlphaCS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #define SEPARATE_ALPHA_MEDIAN 15 | #include "DoFMedianFilterCS.hlsl" 16 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/DoFPass2DebugCS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #define SUPPORT_DEBUGGING 15 | #include "DoFPass2CS.hlsl" 16 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/DownsampleDepthPS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #include "CommonRS.hlsli" 15 | 16 | Texture2DMS DepthBuffer : register(t0); 17 | 18 | [RootSignature(Common_RootSig)] 19 | float main( float4 position : SV_Position ) : SV_Depth 20 | { 21 | return DepthBuffer.Load((int2)position.xy, 0); 22 | } 23 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/FXAAPass1_Luma2_CS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #define USE_LUMA_INPUT_BUFFER 15 | #define SUPPORT_TYPED_UAV_LOADS 1 16 | #include "FXAAPass1CS.hlsli" 17 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/FXAAPass1_Luma_CS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #define USE_LUMA_INPUT_BUFFER 15 | #include "FXAAPass1CS.hlsli" 16 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/FXAAPass1_RGB2_CS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | 13 | #define SUPPORT_TYPED_UAV_LOADS 1 14 | #include "FXAAPass1CS.hlsli" 15 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/FXAAPass1_RGB_CS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | 13 | #include "FXAAPass1CS.hlsli" 14 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/FXAAPass2H2CS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #define SUPPORT_TYPED_UAV_LOADS 1 15 | 16 | #include "FXAAPass2CS.hlsli" 17 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/FXAAPass2HCS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #include "FXAAPass2CS.hlsli" 15 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/FXAAPass2HDebug2CS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #define SUPPORT_TYPED_UAV_LOADS 1 15 | #include "FXAAPass2HDebugCS.hlsl" 16 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/FXAAPass2HDebugCS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #define DEBUG_OUTPUT 15 | 16 | #include "FXAAPass2CS.hlsli" 17 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/FXAAPass2V2CS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #define VERTICAL_ORIENTATION 15 | #define SUPPORT_TYPED_UAV_LOADS 1 16 | 17 | #include "FXAAPass2CS.hlsli" 18 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/FXAAPass2VCS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #define VERTICAL_ORIENTATION 15 | 16 | #include "FXAAPass2CS.hlsli" 17 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/FXAAPass2VDebug2CS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #define SUPPORT_TYPED_UAV_LOADS 1 15 | #include "FXAAPass2VDebugCS.hlsl" 16 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/FXAAPass2VDebugCS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #define VERTICAL_ORIENTATION 15 | #define DEBUG_OUTPUT 16 | 17 | #include "FXAAPass2CS.hlsli" 18 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/GenerateMipsGammaCS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #define CONVERT_TO_SRGB 15 | #include "GenerateMipsCS.hlsli" 16 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/GenerateMipsGammaOddCS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #define CONVERT_TO_SRGB 15 | #define NON_POWER_OF_TWO 3 16 | #include "GenerateMipsCS.hlsli" 17 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/GenerateMipsGammaOddXCS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #define CONVERT_TO_SRGB 15 | #define NON_POWER_OF_TWO 1 16 | #include "GenerateMipsCS.hlsli" 17 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/GenerateMipsGammaOddYCS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #define CONVERT_TO_SRGB 15 | #define NON_POWER_OF_TWO 2 16 | #include "GenerateMipsCS.hlsli" 17 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/GenerateMipsLinearCS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #include "GenerateMipsCS.hlsli" 15 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/GenerateMipsLinearOddCS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #define NON_POWER_OF_TWO 3 15 | #include "GenerateMipsCS.hlsli" 16 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/GenerateMipsLinearOddXCS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #define NON_POWER_OF_TWO 1 15 | #include "GenerateMipsCS.hlsli" 16 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/GenerateMipsLinearOddYCS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #define NON_POWER_OF_TWO 2 15 | #include "GenerateMipsCS.hlsli" 16 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/LanczosFast16CS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // The "fast path" Lanczos filter can be used when the source tile dimensions 12 | // plus the border pixels (3) fit inside 16x16. This reduces bandwidth and 13 | // uses more efficient Math. To determine this case, use the following logic: 14 | // 15 | // bool EnableFastPath = all(srcDim.xy / dstDim.xy <= 13.0 / 16.0); 16 | // 17 | 18 | #define TILE_DIM_X 16 19 | #define TILE_DIM_Y 16 20 | #define ENABLE_FAST_PATH 1 21 | #include "LanczosCS.hlsl" 22 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/LanczosFast24CS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // The "fast path" Lanczos filter can be used when the source tile dimensions 12 | // plus the border pixels (3) fit inside 16x16. This reduces bandwidth and 13 | // uses more efficient Math. To determine this case, use the following logic: 14 | // 15 | // bool EnableFastPath = all(srcDim.xy / dstDim.xy <= 21.0 / 24.0); 16 | // 17 | 18 | #define TILE_DIM_X 32 19 | #define TILE_DIM_Y 24 20 | #define ENABLE_FAST_PATH 1 21 | #include "LanczosCS.hlsl" 22 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/LanczosFast32CS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // The "fast path" Lanczos filter can be used when the source tile dimensions 12 | // plus the border pixels (3) fit inside 16x16. This reduces bandwidth and 13 | // uses more efficient Math. To determine this case, use the following logic: 14 | // 15 | // bool EnableFastPath = all(srcDim.xy / dstDim.xy <= 29.0 / 32.0); 16 | // 17 | 18 | #define TILE_DIM_X 32 19 | #define TILE_DIM_Y 32 20 | #define ENABLE_FAST_PATH 1 21 | #include "LanczosCS.hlsl" 22 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/LanczosVerticalPS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | 12 | #define LANCZOS_VERTICAL 1 13 | #include "LanczosHorizontalPS.hlsl" 14 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/LinearizeDepthCS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #include "SSAORS.hlsli" 15 | 16 | RWTexture2D LinearZ : register(u0); 17 | Texture2D Depth : register(t0); 18 | 19 | cbuffer CB0 : register(b0) 20 | { 21 | float ZMagic; // (zFar - zNear) / zNear 22 | } 23 | 24 | [RootSignature(SSAO_RootSig)] 25 | [numthreads( 16, 16, 1 )] 26 | void main( uint3 Gid : SV_GroupID, uint GI : SV_GroupIndex, uint3 GTid : SV_GroupThreadID, uint3 DTid : SV_DispatchThreadID ) 27 | { 28 | LinearZ[DTid.xy] = 1.0 / (ZMagic * Depth[DTid.xy] + 1.0); 29 | } 30 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/MagnifyPixelsPS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #include "ShaderUtility.hlsli" 15 | #include "PresentRS.hlsli" 16 | 17 | Texture2D ColorTex : register(t0); 18 | SamplerState PointSampler : register(s1); 19 | 20 | cbuffer Constants : register(b0) 21 | { 22 | float ScaleFactor; 23 | } 24 | 25 | [RootSignature(Present_RootSig)] 26 | float3 main( float4 position : SV_Position, float2 uv : TexCoord0 ) : SV_Target0 27 | { 28 | float2 ScaledUV = ScaleFactor * (uv - 0.5) + 0.5; 29 | return ColorTex.SampleLevel(PointSampler, ScaledUV, 0); 30 | } 31 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/MotionBlurRS.hlsli: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #define MotionBlur_RootSig \ 15 | "RootFlags(0), " \ 16 | "RootConstants(b0, num32BitConstants = 4), " \ 17 | "CBV(b1)," \ 18 | "DescriptorTable(UAV(u0, numDescriptors = 8))," \ 19 | "DescriptorTable(SRV(t0, numDescriptors = 8))," \ 20 | "StaticSampler(s0," \ 21 | "addressU = TEXTURE_ADDRESS_BORDER," \ 22 | "addressV = TEXTURE_ADDRESS_BORDER," \ 23 | "addressW = TEXTURE_ADDRESS_BORDER," \ 24 | "borderColor = STATIC_BORDER_COLOR_TRANSPARENT_BLACK," \ 25 | "filter = FILTER_MIN_MAG_MIP_LINEAR)" 26 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/ParticleDispatchIndirectArgsCS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: Julia Careaga 12 | // 13 | 14 | #include "ParticleRS.hlsli" 15 | 16 | ByteAddressBuffer g_ParticleInstance : register( t0 ); 17 | RWByteAddressBuffer g_NumThreadGroups : register( u1 ); 18 | 19 | [RootSignature(Particle_RootSig)] 20 | [numthreads(1, 1, 1)] 21 | void main( uint3 DTid : SV_DispatchThreadID ) 22 | { 23 | g_NumThreadGroups.Store(0, ( g_ParticleInstance.Load(0) + 63) / 64); 24 | 25 | } 26 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/ParticleEnableMaskPS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // Julia Careaga 13 | // 14 | #define ENABLE_PARTICLE_RESPONSIVE_MASK 15 | #include "ParticlePS.hlsl" 16 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/ParticleFinalDispatchIndirectArgsCS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: Julia Careaga 12 | // 13 | 14 | #include "ParticleUtility.hlsli" 15 | 16 | ByteAddressBuffer g_FinalInstanceCounter : register( t0 ); 17 | RWByteAddressBuffer g_NumThreadGroups : register( u0 ); 18 | RWByteAddressBuffer g_DrawIndirectArgs : register ( u1 ); 19 | 20 | [RootSignature(Particle_RootSig)] 21 | [numthreads(1, 1, 1)] 22 | void main( uint3 DTid : SV_DispatchThreadID ) 23 | { 24 | uint particleCount = g_FinalInstanceCounter.Load(0); 25 | g_NumThreadGroups.Store3(0, uint3((particleCount + 63) / 64, 1, 1)); 26 | g_DrawIndirectArgs.Store(4, particleCount); 27 | } 28 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/ParticleNoSortVS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author(s): James Stanard 12 | 13 | #define DISABLE_PARTICLE_SORT 1 14 | #include "ParticleVS.hlsl" 15 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/ParticleSortIndirectArgsCS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #include "ParticleUtility.hlsli" 15 | 16 | RWByteAddressBuffer g_DispatchIndirectArgs : register(u0); 17 | RWByteAddressBuffer g_DrawIndirectArgs : register(u1); 18 | 19 | [RootSignature(Particle_RootSig)] 20 | [numthreads(1, 1, 1)] 21 | void main( uint GI : SV_GroupIndex ) 22 | { 23 | uint InstanceCount = g_DrawIndirectArgs.Load(4); 24 | uint ThreadGroupCount = (InstanceCount + 2047) / 2048; 25 | 26 | g_DispatchIndirectArgs.Store3(0, uint3(ThreadGroupCount, 1, 1)); 27 | 28 | // Reset instance count so we can cull and determine how many we need to actually draw 29 | g_DrawIndirectArgs.Store(4, 0); 30 | } 31 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/ParticleTileRender2CS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | 13 | #define SUPPORT_TYPED_UAV_LOADS 1 14 | #include "ParticleTileRenderCS.hlsl" 15 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/ParticleTileRender3CS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | 13 | #define SUPPORT_TYPED_UAV_LOADS 1 14 | #define ENABLE_PARTICLE_RESPONSIVE_MASK 15 | #include "ParticleTileRenderCS.hlsl" 16 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/ParticleTileRenderFast2CS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | 13 | #define DISABLE_DEPTH_TESTS 14 | #define SUPPORT_TYPED_UAV_LOADS 1 15 | #include "ParticleTileRenderCS.hlsl" 16 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/ParticleTileRenderFast3CS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | 13 | #define DISABLE_DEPTH_TESTS 14 | #define SUPPORT_TYPED_UAV_LOADS 1 15 | #define ENABLE_PARTICLE_RESPONSIVE_MASK 16 | #include "ParticleTileRenderCS.hlsl" 17 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/ParticleTileRenderFastCS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | 13 | #define DISABLE_DEPTH_TESTS 14 | #include "ParticleTileRenderCS.hlsl" 15 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/ParticleTileRenderFastDynamic2CS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | 13 | #define DYNAMIC_RESOLUTION 14 | #define DISABLE_DEPTH_TESTS 15 | #define SUPPORT_TYPED_UAV_LOADS 1 16 | #include "ParticleTileRenderCS.hlsl" 17 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/ParticleTileRenderFastDynamic3CS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | 13 | #define DYNAMIC_RESOLUTION 14 | #define DISABLE_DEPTH_TESTS 15 | #define SUPPORT_TYPED_UAV_LOADS 1 16 | #define ENABLE_PARTICLE_RESPONSIVE_MASK 17 | #include "ParticleTileRenderCS.hlsl" 18 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/ParticleTileRenderFastDynamicCS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | 13 | #define DYNAMIC_RESOLUTION 14 | #define DISABLE_DEPTH_TESTS 15 | #include "ParticleTileRenderCS.hlsl" 16 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/ParticleTileRenderFastLowRes2CS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | 13 | #define LOW_RESOLUTION 14 | #define DISABLE_DEPTH_TESTS 15 | #define SUPPORT_TYPED_UAV_LOADS 1 16 | #include "ParticleTileRenderCS.hlsl" 17 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/ParticleTileRenderFastLowRes3CS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | 13 | #define LOW_RESOLUTION 14 | #define DISABLE_DEPTH_TESTS 15 | #define SUPPORT_TYPED_UAV_LOADS 1 16 | #define ENABLE_PARTICLE_RESPONSIVE_MASK 17 | #include "ParticleTileRenderCS.hlsl" 18 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/ParticleTileRenderFastLowResCS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | 13 | #define LOW_RESOLUTION 14 | #define DISABLE_DEPTH_TESTS 15 | #include "ParticleTileRenderCS.hlsl" 16 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/ParticleTileRenderSlowDynamic2CS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | 13 | #define DYNAMIC_RESOLUTION 14 | #define SUPPORT_TYPED_UAV_LOADS 1 15 | #include "ParticleTileRenderCS.hlsl" 16 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/ParticleTileRenderSlowDynamic3CS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | 13 | #define DYNAMIC_RESOLUTION 14 | #define SUPPORT_TYPED_UAV_LOADS 1 15 | #define ENABLE_PARTICLE_RESPONSIVE_MASK 16 | #include "ParticleTileRenderCS.hlsl" 17 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/ParticleTileRenderSlowDynamicCS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | 13 | #define DYNAMIC_RESOLUTION 14 | #include "ParticleTileRenderCS.hlsl" 15 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/ParticleTileRenderSlowLowRes2CS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | 13 | #define LOW_RESOLUTION 14 | #define SUPPORT_TYPED_UAV_LOADS 1 15 | #include "ParticleTileRenderCS.hlsl" 16 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/ParticleTileRenderSlowLowRes3CS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | 13 | #define LOW_RESOLUTION 14 | #define SUPPORT_TYPED_UAV_LOADS 1 15 | #define ENABLE_PARTICLE_RESPONSIVE_MASK 16 | #include "ParticleTileRenderCS.hlsl" 17 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/ParticleTileRenderSlowLowResCS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | 13 | #define LOW_RESOLUTION 14 | #include "ParticleTileRenderCS.hlsl" 15 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/PerfGraphPS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: Julia Careaga 12 | // 13 | 14 | #include "PerfGraphRS.hlsli" 15 | 16 | struct VSOutput 17 | { 18 | float4 pos : SV_POSITION; 19 | float3 col : COLOR; 20 | }; 21 | 22 | [RootSignature(PerfGraph_RootSig)] 23 | float4 main( VSOutput input ) : SV_TARGET 24 | { 25 | return float4(input.col, 0.75); 26 | } 27 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/PerfGraphRS.hlsli: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #define PerfGraph_RootSig \ 15 | "RootFlags(0), " \ 16 | "CBV(b0)," \ 17 | "DescriptorTable(UAV(u0, numDescriptors = 2))," \ 18 | "SRV(t0, visibility = SHADER_VISIBILITY_VERTEX)," \ 19 | "RootConstants(b1, num32BitConstants = 3)" 20 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/PixelPacking.hlsli: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #ifndef __PIXEL_PACKING_HLSLI__ 15 | #define __PIXEL_PACKING_HLSLI__ 16 | 17 | #include "ColorSpaceUtility.hlsli" 18 | #include "PixelPacking_RGBE.hlsli" 19 | #include "PixelPacking_RGBM.hlsli" 20 | #include "PixelPacking_R11G11B10.hlsli" 21 | 22 | #endif // __PIXEL_PACKING_HLSLI__ 23 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/PresentHDRPS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #include "PresentRS.hlsli" 15 | #include "ColorSpaceUtility.hlsli" 16 | 17 | Texture2D MainBuffer : register(t0); 18 | 19 | [RootSignature(Present_RootSig)] 20 | float3 main( float4 position : SV_Position, float2 uv : TexCoord0 ) : SV_Target0 21 | { 22 | return ApplyREC2084Curve(MainBuffer[(int2)position.xy] / 10000.0); 23 | } 24 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/PresentSDRPS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #include "ShaderUtility.hlsli" 15 | #include "PresentRS.hlsli" 16 | 17 | Texture2D ColorTex : register(t0); 18 | 19 | [RootSignature(Present_RootSig)] 20 | float3 main( float4 position : SV_Position ) : SV_Target0 21 | { 22 | float3 LinearRGB = ColorTex[(int2)position.xy]; 23 | return ApplyDisplayProfile(LinearRGB, DISPLAY_PLANE_FORMAT); 24 | } 25 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/ResolveTAACS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | 13 | #include "ShaderUtility.hlsli" 14 | #include "CommonRS.hlsli" 15 | 16 | Texture2D TemporalColor : register(t0); 17 | RWTexture2D OutColor : register(u0); 18 | 19 | [RootSignature(Common_RootSig)] 20 | [numthreads( 8, 8, 1 )] 21 | void main( uint3 DTid : SV_DispatchThreadID ) 22 | { 23 | float4 Color = TemporalColor[DTid.xy]; 24 | OutColor[DTid.xy] = Color.rgb / max(Color.w, 1e-6); 25 | } 26 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/SharpenCS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | 13 | #define NO_TEMPORAL_WEIGHT 14 | #include "SharpenTAACS.hlsl" 15 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/SharpeningUpsampleGammaPS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #define GAMMA_SPACE 15 | #include "SharpeningUpsamplePS.hlsl" 16 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/TextRS.hlsli: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #define Text_RootSig \ 15 | "RootFlags(ALLOW_INPUT_ASSEMBLER_INPUT_LAYOUT), " \ 16 | "CBV(b0, visibility = SHADER_VISIBILITY_VERTEX)," \ 17 | "CBV(b0, visibility = SHADER_VISIBILITY_PIXEL)," \ 18 | "DescriptorTable(SRV(t0, numDescriptors = 1), visibility = SHADER_VISIBILITY_PIXEL)," \ 19 | "StaticSampler(s0, visibility = SHADER_VISIBILITY_PIXEL," \ 20 | "addressU = TEXTURE_ADDRESS_CLAMP," \ 21 | "addressV = TEXTURE_ADDRESS_CLAMP," \ 22 | "addressW = TEXTURE_ADDRESS_CLAMP," \ 23 | "filter = FILTER_MIN_MAG_MIP_LINEAR)" 24 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/ToneMap2CS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #define SUPPORT_TYPED_UAV_LOADS 1 15 | #include "ToneMapCS.hlsl" 16 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/ToneMapHDR2CS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #define ENABLE_HDR_DISPLAY_MAPPING 1 15 | #define SUPPORT_TYPED_UAV_LOADS 1 16 | #include "ToneMapCS.hlsl" 17 | -------------------------------------------------------------------------------- /MiniEngine/Core/Shaders/ToneMapHDRCS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #define ENABLE_HDR_DISPLAY_MAPPING 1 15 | #include "ToneMapCS.hlsl" 16 | -------------------------------------------------------------------------------- /MiniEngine/Core/Util/CommandLineArg.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: Jack Elliott 12 | // 13 | 14 | #pragma once 15 | 16 | namespace CommandLineArgs 17 | { 18 | void Initialize(int argc, wchar_t** argv); 19 | bool GetInteger(const wchar_t* key, uint32_t& value); 20 | bool GetFloat(const wchar_t* key, float& value); 21 | bool GetString(const wchar_t* key, std::wstring& value); 22 | } -------------------------------------------------------------------------------- /MiniEngine/Core/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /MiniEngine/Core/pch.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // pch.cpp 3 | // Include the standard header and generate the precompiled header. 4 | // 5 | 6 | #include "pch.h" 7 | -------------------------------------------------------------------------------- /MiniEngine/CreateNewLibrary.bat: -------------------------------------------------------------------------------- 1 | @ECHO OFF 2 | REM This batch file generates a new MiniEngine library project for Visual Studio 3 | REM 2015 and 2017. It is expected that python.exe is on your path and is version 4 | REM 3.0 or above. If not, we recommend installing the latest version of Anaconda. 5 | python.exe Tools\Scripts\CreateNewProject.py LIB %1 -------------------------------------------------------------------------------- /MiniEngine/CreateNewSolution.bat: -------------------------------------------------------------------------------- 1 | @ECHO OFF 2 | REM This batch file generates a new MiniEngine solution project for Visual Studio 3 | REM 2015 and 2017. It is expected that python.exe is on your path and is version 4 | REM 3.0 or above. If not, we recommend installing the latest version of Anaconda. 5 | python.exe Tools\Scripts\CreateNewProject.py APP %1 -------------------------------------------------------------------------------- /MiniEngine/Dependencies/DirectXMesh/.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Explicitly declare code/VS files as CRLF 5 | *.cpp eol=crlf 6 | *.h eol=crlf 7 | *.hlsl eol=crlf 8 | *.hlsli eol=crlf 9 | *.fx eol=crlf 10 | *.fxh eol=crlf 11 | *.inc eol=crlf 12 | *.inl eol=crlf 13 | *.vcxproj eol=crlf 14 | *.filters eol=crlf 15 | *.sln eol=crlf 16 | 17 | # Explicitly declare resource files as binary 18 | *.pdb binary 19 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/DirectXMesh/.gitignore: -------------------------------------------------------------------------------- 1 | *.psess 2 | *.vsp 3 | *.log 4 | *.err 5 | *.wrn 6 | *.suo 7 | *.sdf 8 | *.user 9 | *.i 10 | *.vspscc 11 | *.opensdf 12 | *.opendb 13 | *.ipch 14 | *.cache 15 | *.tlog 16 | *.lastbuildstate 17 | *.ilk 18 | *.VC.db 19 | *.nupkg 20 | .vs 21 | [Bb]in 22 | /ipch 23 | Debug 24 | Profile 25 | Release 26 | x64 27 | /Tests 28 | /wiki 29 | /out 30 | /CMakeUserPresets.json 31 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/DirectXMesh/.nuget/DirectXMesh-config.cmake.in: -------------------------------------------------------------------------------- 1 | @PACKAGE_INIT@ 2 | 3 | if ((NOT directxmesh_FIND_COMPONENTS) OR ("library" IN_LIST directxmesh_FIND_COMPONENTS)) 4 | include(${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@-targets.cmake) 5 | endif() 6 | 7 | if ("utils" IN_LIST directxmesh_FIND_COMPONENTS) 8 | include(${CMAKE_CURRENT_LIST_DIR}/Utilities-targets.cmake) 9 | endif() 10 | 11 | include(CMakeFindDependencyMacro) 12 | 13 | if(MINGW OR (NOT WIN32) OR VCPKG_TOOLCHAIN) 14 | find_dependency(directx-headers CONFIG) 15 | find_dependency(directxmath CONFIG) 16 | endif() 17 | 18 | check_required_components("@PROJECT_NAME@") 19 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/DirectXMesh/.nuget/icon.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/MiniEngine/Dependencies/DirectXMesh/.nuget/icon.jpg -------------------------------------------------------------------------------- /MiniEngine/Dependencies/DirectXMesh/.nuget/versioninfo.ps1: -------------------------------------------------------------------------------- 1 | param( 2 | [string]$version 3 | ) 4 | $file = 'Meshconvert\meshconvert.rc' 5 | $versionComma = $version.Replace(".", ",") 6 | (Get-Content $file).replace('1,0,0,0', $versionComma).replace('1.0.0.0', $version) | Set-Content $file 7 | (Get-Content $file) -------------------------------------------------------------------------------- /MiniEngine/Dependencies/DirectXMesh/Meshconvert/directx.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/MiniEngine/Dependencies/DirectXMesh/Meshconvert/directx.ico -------------------------------------------------------------------------------- /MiniEngine/Dependencies/DirectXMesh/NuGet.Config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/DirectXTex/.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Explicitly declare code/VS files as CRLF 5 | *.cpp eol=crlf 6 | *.cmd eol=crlf 7 | *.h eol=crlf 8 | *.hlsl eol=crlf 9 | *.hlsli eol=crlf 10 | *.fx eol=crlf 11 | *.fxh eol=crlf 12 | *.inc eol=crlf 13 | *.inl eol=crlf 14 | *.vcxproj eol=crlf 15 | *.filters eol=crlf 16 | *.sln eol=crlf 17 | 18 | # Explicitly declare resource files as binary 19 | *.pdb binary 20 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/DirectXTex/.gitignore: -------------------------------------------------------------------------------- 1 | *.psess 2 | *.vsp 3 | *.log 4 | *.err 5 | *.wrn 6 | *.suo 7 | *.sdf 8 | *.user 9 | *.i 10 | *.vspscc 11 | *.opensdf 12 | *.opendb 13 | *.ipch 14 | *.cache 15 | *.tlog 16 | *.lastbuildstate 17 | *.ilk 18 | *.VC.db 19 | *.nupkg 20 | .vs 21 | [Bb]in 22 | packages 23 | /DDSView/Shaders/*.inc 24 | /DDSView/Shaders/*.pdb 25 | /DirectXTex/Shaders/Compiled/*.inc 26 | /DirectXTex/Shaders/Compiled/*.pdb 27 | /ipch 28 | Debug 29 | Durango 30 | Gaming.Xbox.XboxOne.x64 31 | Gaming.Xbox.Scarlett.x64 32 | Gaming.Desktop.x64 33 | Profile 34 | Release 35 | x64 36 | /Tests 37 | /wiki 38 | /out 39 | /CMakeUserPresets.json 40 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/DirectXTex/.nuget/DirectXTex-config.cmake.in: -------------------------------------------------------------------------------- 1 | @PACKAGE_INIT@ 2 | 3 | include(${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@-targets.cmake) 4 | include(CMakeFindDependencyMacro) 5 | 6 | set(ENABLE_OPENEXR_SUPPORT @ENABLE_OPENEXR_SUPPORT@) 7 | if(ENABLE_OPENEXR_SUPPORT) 8 | find_dependency(OpenEXR) 9 | endif() 10 | 11 | if(MINGW OR (NOT WIN32) OR VCPKG_TOOLCHAIN) 12 | find_dependency(directx-headers CONFIG) 13 | find_dependency(directxmath CONFIG) 14 | endif() 15 | 16 | check_required_components("@PROJECT_NAME@") 17 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/DirectXTex/.nuget/icon.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/MiniEngine/Dependencies/DirectXTex/.nuget/icon.jpg -------------------------------------------------------------------------------- /MiniEngine/Dependencies/DirectXTex/.nuget/versioninfo.ps1: -------------------------------------------------------------------------------- 1 | param( 2 | [string]$version 3 | ) 4 | $versionComma = $version.Replace(".", ",") 5 | $files = 'Texassemble\texassemble.rc', 'Texconv\Texconv.rc', 'Texdiag\texdiag.rc' 6 | foreach ($file in $files) { (Get-Content $file).replace('1,0,0,0', $versionComma).replace('1.0.0.0', $version) | Set-Content $file } 7 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/DirectXTex/DDSView/DDSView_Desktop_2019.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {8e114980-c1a3-4ada-ad7c-83caadf5daeb} 6 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | Resource Files 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/DirectXTex/DDSView/DDSView_Desktop_2022.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {8e114980-c1a3-4ada-ad7c-83caadf5daeb} 6 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | Resource Files 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/DirectXTex/DDSView/directx.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/MiniEngine/Dependencies/DirectXTex/DDSView/directx.ico -------------------------------------------------------------------------------- /MiniEngine/Dependencies/DirectXTex/Texassemble/Texassemble_Desktop_2019.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {8e114980-c1a3-4ada-ad7c-83caadf5daeb} 6 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | Resource Files 16 | 17 | 18 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/DirectXTex/Texassemble/Texassemble_Desktop_2022.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {8e114980-c1a3-4ada-ad7c-83caadf5daeb} 6 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | Resource Files 16 | 17 | 18 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/DirectXTex/Texassemble/directx.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/MiniEngine/Dependencies/DirectXTex/Texassemble/directx.ico -------------------------------------------------------------------------------- /MiniEngine/Dependencies/DirectXTex/Texconv/Texconv_Desktop_2019.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {8e114980-c1a3-4ada-ad7c-83caadf5daeb} 6 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | Resource Files 17 | 18 | 19 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/DirectXTex/Texconv/Texconv_Desktop_2022.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {8e114980-c1a3-4ada-ad7c-83caadf5daeb} 6 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | Resource Files 17 | 18 | 19 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/DirectXTex/Texconv/directx.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/MiniEngine/Dependencies/DirectXTex/Texconv/directx.ico -------------------------------------------------------------------------------- /MiniEngine/Dependencies/DirectXTex/Texdiag/directx.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/MiniEngine/Dependencies/DirectXTex/Texdiag/directx.ico -------------------------------------------------------------------------------- /MiniEngine/Dependencies/DirectXTex/Texdiag/texdiag_Desktop_2019.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {8e114980-c1a3-4ada-ad7c-83caadf5daeb} 6 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | Resource Files 15 | 16 | 17 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/DirectXTex/Texdiag/texdiag_Desktop_2022.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {8e114980-c1a3-4ada-ad7c-83caadf5daeb} 6 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | Resource Files 15 | 16 | 17 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/WinPixEventRuntime/bin/x64/WinPixEventRuntime.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/MiniEngine/Dependencies/WinPixEventRuntime/bin/x64/WinPixEventRuntime.dll -------------------------------------------------------------------------------- /MiniEngine/Dependencies/WinPixEventRuntime/bin/x64/WinPixEventRuntime.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/MiniEngine/Dependencies/WinPixEventRuntime/bin/x64/WinPixEventRuntime.lib -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/.editorconfig: -------------------------------------------------------------------------------- 1 | # See http://editorconfig.org to read about the EditorConfig format. 2 | # - In theory automatically supported by VS2017+ and most common IDE or text editors. 3 | # - In practice VS2019 stills gets trailing whitespaces wrong :( 4 | # - Suggest install to trim whitespaces: https://marketplace.visualstudio.com/items?itemName=MadsKristensen.TrailingWhitespaceVisualizer 5 | # - Alternative for older VS2010 to VS2015: https://marketplace.visualstudio.com/items?itemName=EditorConfigTeam.EditorConfig 6 | 7 | # top-most EditorConfig file 8 | root = true 9 | 10 | # Default settings: 11 | # Use 4 spaces as indentation 12 | [*] 13 | indent_style = space 14 | indent_size = 4 15 | insert_final_newline = true 16 | trim_trailing_whitespace = true 17 | 18 | [imstb_*] 19 | indent_size = 3 20 | trim_trailing_whitespace = false 21 | 22 | [Makefile] 23 | indent_style = tab 24 | indent_size = 4 25 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | 3 | *.c text 4 | *.cpp text 5 | *.h text 6 | *.m text 7 | *.mm text 8 | *.md text 9 | *.txt text 10 | *.html text 11 | *.bat text 12 | *.frag text 13 | *.vert text 14 | *.mkb text 15 | *.icf text 16 | 17 | *.sln text eol=crlf 18 | *.vcxproj text eol=crlf 19 | *.vcxproj.filters text eol=crlf 20 | *.natvis text eol=crlf 21 | 22 | Makefile text eol=lf 23 | *.sh text eol=lf 24 | *.pbxproj text eol=lf 25 | *.storyboard text eol=lf 26 | *.plist text eol=lf 27 | 28 | *.png binary 29 | *.ttf binary 30 | *.lib binary 31 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | custom: ['https://github.com/ocornut/imgui/wiki/Sponsors'] 2 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/.github/pull_request_template.md: -------------------------------------------------------------------------------- 1 | (Click "Preview" to turn any http URL into a clickable link) 2 | 3 | 1. PLEASE CAREFULLY READ: [Issue Submitting Guidelines](https://github.com/ocornut/imgui/issues/2261) 4 | 5 | 2. Clear this template before submitting your PR. 6 | 7 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/.github/workflows/scheduled.yml: -------------------------------------------------------------------------------- 1 | # 2 | # This is a dummy workflow used to trigger scheduled builds. Forked repositories most likely should disable this 3 | # workflow to avoid daily builds of inactive repositories. 4 | # 5 | name: scheduled 6 | 7 | on: 8 | schedule: 9 | - cron: '0 9 * * *' 10 | 11 | jobs: 12 | scheduled: 13 | runs-on: ubuntu-latest 14 | steps: 15 | - run: exit 0 16 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/.gitignore: -------------------------------------------------------------------------------- 1 | ## OSX artifacts 2 | .DS_Store 3 | 4 | ## Dear ImGui artifacts 5 | imgui.ini 6 | 7 | ## General build artifacts 8 | *.o 9 | *.obj 10 | *.exe 11 | examples/build/* 12 | examples/*/Debug/* 13 | examples/*/Release/* 14 | examples/*/x64/* 15 | 16 | ## Visual Studio artifacts 17 | .vs 18 | ipch 19 | *.opensdf 20 | *.log 21 | *.pdb 22 | *.ilk 23 | *.user 24 | *.sdf 25 | *.suo 26 | *.VC.db 27 | *.VC.VC.opendb 28 | 29 | ## Commonly used CMake directories 30 | /build*/ 31 | 32 | ## Xcode artifacts 33 | project.xcworkspace 34 | xcuserdata 35 | 36 | ## Emscripten artifacts 37 | examples/*.o.tmp 38 | examples/*.out.js 39 | examples/*.out.wasm 40 | examples/example_emscripten_opengl3/web/* 41 | examples/example_emscripten_wgpu/web/* 42 | 43 | ## JetBrains IDE artifacts 44 | .idea 45 | cmake-build-* 46 | 47 | ## Unix executables from our example Makefiles 48 | examples/example_glfw_opengl2/example_glfw_opengl2 49 | examples/example_glfw_opengl3/example_glfw_opengl3 50 | examples/example_glut_opengl2/example_glut_opengl2 51 | examples/example_null/example_null 52 | examples/example_sdl_opengl2/example_sdl_opengl2 53 | examples/example_sdl_opengl3/example_sdl_opengl3 54 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/LICENSE.txt: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014-2021 Omar Cornut 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/backends/vulkan/generate_spv.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ## -V: create SPIR-V binary 3 | ## -x: save binary output as text-based 32-bit hexadecimal numbers 4 | ## -o: output file 5 | glslangValidator -V -x -o glsl_shader.frag.u32 glsl_shader.frag 6 | glslangValidator -V -x -o glsl_shader.vert.u32 glsl_shader.vert 7 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/backends/vulkan/glsl_shader.frag: -------------------------------------------------------------------------------- 1 | #version 450 core 2 | layout(location = 0) out vec4 fColor; 3 | 4 | layout(set=0, binding=0) uniform sampler2D sTexture; 5 | 6 | layout(location = 0) in struct { 7 | vec4 Color; 8 | vec2 UV; 9 | } In; 10 | 11 | void main() 12 | { 13 | fColor = In.Color * texture(sTexture, In.UV.st); 14 | } 15 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/backends/vulkan/glsl_shader.vert: -------------------------------------------------------------------------------- 1 | #version 450 core 2 | layout(location = 0) in vec2 aPos; 3 | layout(location = 1) in vec2 aUV; 4 | layout(location = 2) in vec4 aColor; 5 | 6 | layout(push_constant) uniform uPushConstant { 7 | vec2 uScale; 8 | vec2 uTranslate; 9 | } pc; 10 | 11 | out gl_PerVertex { 12 | vec4 gl_Position; 13 | }; 14 | 15 | layout(location = 0) out struct { 16 | vec4 Color; 17 | vec2 UV; 18 | } Out; 19 | 20 | void main() 21 | { 22 | Out.Color = aColor; 23 | Out.UV = aUV; 24 | gl_Position = vec4(aPos * pc.uScale + pc.uTranslate, 0, 1); 25 | } 26 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/examples/README.txt: -------------------------------------------------------------------------------- 1 | See BACKENDS and EXAMPLES files in the docs/ folder, or on the web at: https://github.com/ocornut/imgui/tree/master/docs 2 | 3 | Backends = Helper code to facilitate integration with platforms/graphics api (used by Examples + should be used by your app). 4 | Examples = Standalone applications showcasing integration with platforms/graphics api. 5 | 6 | Some Examples have extra README files in their respective directory, please check them too! 7 | 8 | Once Dear ImGui is running (in either examples or your own application/game/engine), 9 | run and refer to ImGui::ShowDemoWindow() in imgui_demo.cpp for the end-user API. 10 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/examples/example_allegro5/imconfig_allegro5.h: -------------------------------------------------------------------------------- 1 | //----------------------------------------------------------------------------- 2 | // COMPILE-TIME OPTIONS FOR DEAR IMGUI ALLEGRO 5 EXAMPLE 3 | // See imconfig.h for the full template 4 | // Because Allegro doesn't support 16-bit vertex indices, we enable the compile-time option of imgui to use 32-bit indices 5 | //----------------------------------------------------------------------------- 6 | 7 | #pragma once 8 | 9 | // Use 32-bit vertex indices because Allegro doesn't support 16-bit ones 10 | // This allows us to avoid converting vertices format at runtime 11 | #define ImDrawIdx int 12 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/examples/example_android_opengl3/android/.gitignore: -------------------------------------------------------------------------------- 1 | .cxx 2 | .externalNativeBuild 3 | build/ 4 | *.iml 5 | 6 | .idea 7 | .gradle 8 | local.properties 9 | 10 | # Android Studio puts a Gradle wrapper here, that we don't want: 11 | gradle/ 12 | gradlew* 13 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/examples/example_android_opengl3/android/app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | apply plugin: 'kotlin-android' 3 | 4 | android { 5 | compileSdkVersion 29 6 | buildToolsVersion "30.0.3" 7 | ndkVersion "21.4.7075529" 8 | defaultConfig { 9 | applicationId "imgui.example.android" 10 | minSdkVersion 23 11 | targetSdkVersion 29 12 | versionCode 1 13 | versionName "1.0" 14 | } 15 | 16 | buildTypes { 17 | release { 18 | minifyEnabled false 19 | proguardFiles getDefaultProguardFile('proguard-android-optimize.txt') 20 | } 21 | } 22 | 23 | externalNativeBuild { 24 | cmake { 25 | path "../../CMakeLists.txt" 26 | } 27 | } 28 | } 29 | repositories { 30 | mavenCentral() 31 | } 32 | dependencies { 33 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" 34 | } 35 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/examples/example_android_opengl3/android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 10 | 11 | 15 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/examples/example_android_opengl3/android/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | ext.kotlin_version = '1.4.31' 3 | repositories { 4 | google() 5 | mavenCentral() 6 | 7 | } 8 | dependencies { 9 | classpath 'com.android.tools.build:gradle:4.1.0' 10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 11 | 12 | } 13 | } 14 | 15 | allprojects { 16 | repositories { 17 | google() 18 | mavenCentral() 19 | } 20 | } 21 | 22 | task clean(type: Delete) { 23 | delete rootProject.buildDir 24 | } 25 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/examples/example_android_opengl3/android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/examples/example_apple_metal/README.md: -------------------------------------------------------------------------------- 1 | # iOS / OSX Metal example 2 | 3 | ## Introduction 4 | 5 | This example shows how to integrate Dear ImGui with Metal. It is based on the "cross-platform" game template provided with Xcode as of Xcode 9. 6 | 7 | Consider basing your work off the example_glfw_metal/ or example_sdl_metal/ examples. They are better supported and will be portable unlike this one. 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/examples/example_apple_metal/macOS/Info-macOS.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIconFile 10 | 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | imgui 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleVersion 22 | 1 23 | LSMinimumSystemVersion 24 | $(MACOSX_DEPLOYMENT_TARGET) 25 | NSMainStoryboardFile 26 | MainMenu 27 | NSPrincipalClass 28 | NSApplication 29 | 30 | 31 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/examples/example_emscripten_wgpu/README.md: -------------------------------------------------------------------------------- 1 | 2 | # How to Build 3 | 4 | - You need to install Emscripten from https://emscripten.org/docs/getting_started/downloads.html, and have the environment variables set, as described in https://emscripten.org/docs/getting_started/downloads.html#installation-instructions 5 | 6 | - Depending on your configuration, in Windows you may need to run `emsdk/emsdk_env.bat` in your console to access the Emscripten command-line tools. 7 | 8 | - Then build using `make` while in the `example_emscripten_wgpu/` directory. 9 | 10 | - Requires Emscripten 2.0.10 (December 2020) due to GLFW adaptations 11 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/examples/example_glfw_opengl2/build_win32.bat: -------------------------------------------------------------------------------- 1 | @REM Build for Visual Studio compiler. Run your copy of vcvars32.bat or vcvarsall.bat to setup command-line compiler. 2 | @set OUT_DIR=Debug 3 | @set OUT_EXE=example_glfw_opengl2 4 | @set INCLUDES=/I..\.. /I..\..\backends /I..\libs\glfw\include 5 | @set SOURCES=main.cpp ..\..\backends\imgui_impl_opengl2.cpp ..\..\backends\imgui_impl_glfw.cpp ..\..\imgui*.cpp 6 | @set LIBS=/LIBPATH:..\libs\glfw\lib-vc2010-32 glfw3.lib opengl32.lib gdi32.lib shell32.lib 7 | mkdir %OUT_DIR% 8 | cl /nologo /Zi /MD %INCLUDES% %SOURCES% /Fe%OUT_DIR%/%OUT_EXE%.exe /Fo%OUT_DIR%/ /link %LIBS% 9 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/examples/example_glfw_opengl3/build_win32.bat: -------------------------------------------------------------------------------- 1 | @REM Build for Visual Studio compiler. Run your copy of vcvars32.bat or vcvarsall.bat to setup command-line compiler. 2 | @set OUT_DIR=Debug 3 | @set OUT_EXE=example_glfw_opengl3 4 | @set INCLUDES=/I..\.. /I..\..\backends /I..\libs\glfw\include 5 | @set SOURCES=main.cpp ..\..\backends\imgui_impl_glfw.cpp ..\..\backends\imgui_impl_opengl3.cpp ..\..\imgui*.cpp 6 | @set LIBS=/LIBPATH:..\libs\glfw\lib-vc2010-32 glfw3.lib opengl32.lib gdi32.lib shell32.lib 7 | mkdir %OUT_DIR% 8 | cl /nologo /Zi /MD %INCLUDES% %SOURCES% /Fe%OUT_DIR%/%OUT_EXE%.exe /Fo%OUT_DIR%/ /link %LIBS% 9 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/examples/example_glfw_vulkan/build_win32.bat: -------------------------------------------------------------------------------- 1 | @REM Build for Visual Studio compiler. Run your copy of vcvars32.bat or vcvarsall.bat to setup command-line compiler. 2 | 3 | @set OUT_EXE=example_glfw_vulkan 4 | @set INCLUDES=/I..\.. /I..\..\backends /I..\libs\glfw\include /I %VULKAN_SDK%\include 5 | @set SOURCES=main.cpp ..\..\backends\imgui_impl_vulkan.cpp ..\..\backends\imgui_impl_glfw.cpp ..\..\imgui*.cpp 6 | @set LIBS=/LIBPATH:..\libs\glfw\lib-vc2010-32 /libpath:%VULKAN_SDK%\lib32 glfw3.lib opengl32.lib gdi32.lib shell32.lib vulkan-1.lib 7 | 8 | @set OUT_DIR=Debug 9 | mkdir %OUT_DIR% 10 | cl /nologo /Zi /MD %INCLUDES% %SOURCES% /Fe%OUT_DIR%/%OUT_EXE%.exe /Fo%OUT_DIR%/ /link %LIBS% 11 | 12 | @set OUT_DIR=Release 13 | mkdir %OUT_DIR% 14 | cl /nologo /Zi /MD /Ox /Oi %INCLUDES% %SOURCES% /Fe%OUT_DIR%/%OUT_EXE%.exe /Fo%OUT_DIR%/ /link %LIBS% 15 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/examples/example_glfw_vulkan/build_win64.bat: -------------------------------------------------------------------------------- 1 | @REM Build for Visual Studio compiler. Run your copy of amd64/vcvars32.bat to setup 64-bit command-line compiler. 2 | 3 | @set INCLUDES=/I..\.. /I..\..\backends /I..\libs\glfw\include /I %VULKAN_SDK%\include 4 | @set SOURCES=main.cpp ..\..\backends\imgui_impl_vulkan.cpp ..\..\backends\imgui_impl_glfw.cpp ..\..\imgui*.cpp 5 | @set LIBS=/LIBPATH:..\libs\glfw\lib-vc2010-64 /libpath:%VULKAN_SDK%\lib glfw3.lib opengl32.lib gdi32.lib shell32.lib vulkan-1.lib 6 | 7 | @set OUT_DIR=Debug 8 | mkdir %OUT_DIR% 9 | cl /nologo /Zi /MD %INCLUDES% %SOURCES% /Fe%OUT_DIR%/%OUT_EXE%.exe /Fo%OUT_DIR%/ /link %LIBS% 10 | 11 | @set OUT_DIR=Release 12 | mkdir %OUT_DIR% 13 | cl /nologo /Zi /MD /Ox /Oi %INCLUDES% %SOURCES% /Fe%OUT_DIR%/%OUT_EXE%.exe /Fo%OUT_DIR%/ /link %LIBS% 14 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/examples/example_marmalade/data/app.icf: -------------------------------------------------------------------------------- 1 | # This file is for configuration settings for your 2 | # application. 3 | # 4 | # The syntax is similar to windows .ini files ie 5 | # 6 | # [GroupName] 7 | # Setting = Value 8 | # 9 | # Which can be read by your application using 10 | # e.g s3eConfigGetString("GroupName", "Setting", string) 11 | # 12 | # All settings must be documented in .config.txt files. 13 | # New settings specific to this application should be 14 | # documented in app.config.txt 15 | # 16 | # Some conditional operations are also permitted, see the 17 | # S3E documentation for details. 18 | 19 | [S3E] 20 | MemSize=6000000 21 | MemSizeDebug=6000000 22 | DispFixRot=FixedLandscape 23 | 24 | # emulate iphone 5 resolution, change these settings to emulate other display resolution 25 | WinWidth=1136 26 | WinHeight=640 27 | 28 | [GX] 29 | DataCacheSize=131070 30 | 31 | [Util] 32 | #MemoryBreakpoint=1282 33 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/examples/example_marmalade/marmalade_example.mkb: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env mkb 2 | 3 | # ImGui - standalone example application for Marmalade 4 | # Copyright (C) 2015 by Giovanni Zito 5 | # This file is part of ImGui 6 | # https://github.com/ocornut/imgui 7 | 8 | define IMGUI_DISABLE_INCLUDE_IMCONFIG_H 9 | define IMGUI_DISABLE_WIN32_DEFAULT_CLIPBOARD_FUNCS 10 | define IMGUI_DISABLE_WIN32_DEFAULT_IME_FUNCS 11 | define _snprintf=snprintf 12 | 13 | options 14 | { 15 | optimise-speed=1 16 | } 17 | 18 | includepaths 19 | { 20 | ../.. 21 | ../../backends 22 | } 23 | 24 | subprojects 25 | { 26 | iwgx 27 | } 28 | 29 | files 30 | { 31 | (.) 32 | ["imgui"] 33 | ../../imgui.cpp 34 | ../../imgui_demo.cpp 35 | ../../imgui_draw.cpp 36 | ../../imgui_tables.cpp 37 | ../../imgui_widgets.cpp 38 | ../../imconfig.h 39 | ../../imgui.h 40 | ../../imgui_internal.h 41 | 42 | ["imgui","Marmalade backend"] 43 | ../../backends/imgui_impl_marmalade.h 44 | ../../backends/imgui_impl_marmalade.cpp 45 | main.cpp 46 | 47 | } 48 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/examples/example_null/build_win32.bat: -------------------------------------------------------------------------------- 1 | @REM Build for Visual Studio compiler. Run your copy of vcvars32.bat or vcvarsall.bat to setup command-line compiler. 2 | mkdir Debug 3 | cl /nologo /Zi /MD /I ..\.. %* *.cpp ..\..\*.cpp /FeDebug/example_null.exe /FoDebug/ /link gdi32.lib shell32.lib imm32.lib 4 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/examples/example_sdl_directx11/build_win32.bat: -------------------------------------------------------------------------------- 1 | @REM Build for Visual Studio compiler. Run your copy of vcvars32.bat or vcvarsall.bat to setup command-line compiler. 2 | @set OUT_DIR=Debug 3 | @set OUT_EXE=example_sdl_directx11 4 | @set INCLUDES=/I..\.. /I..\..\backends /I%SDL2_DIR%\include /I "%WindowsSdkDir%Include\um" /I "%WindowsSdkDir%Include\shared" /I "%DXSDK_DIR%Include" 5 | @set SOURCES=main.cpp ..\..\backends\imgui_impl_sdl.cpp ..\..\backends\imgui_impl_dx11.cpp ..\..\imgui*.cpp 6 | @set LIBS=/LIBPATH:%SDL2_DIR%\lib\x86 SDL2.lib SDL2main.lib /LIBPATH:"%DXSDK_DIR%/Lib/x86" d3d11.lib d3dcompiler.lib shell32.lib 7 | mkdir %OUT_DIR% 8 | cl /nologo /Zi /MD %INCLUDES% %SOURCES% /Fe%OUT_DIR%/%OUT_EXE%.exe /Fo%OUT_DIR%/ /link %LIBS% /subsystem:console 9 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/examples/example_sdl_opengl2/build_win32.bat: -------------------------------------------------------------------------------- 1 | @REM Build for Visual Studio compiler. Run your copy of vcvars32.bat or vcvarsall.bat to setup command-line compiler. 2 | @set OUT_DIR=Debug 3 | @set OUT_EXE=example_sdl_opengl2 4 | @set INCLUDES=/I..\.. /I..\..\backends /I%SDL2_DIR%\include 5 | @set SOURCES=main.cpp ..\..\backends\imgui_impl_sdl.cpp ..\..\backends\imgui_impl_opengl2.cpp ..\..\imgui*.cpp 6 | @set LIBS=/LIBPATH:%SDL2_DIR%\lib\x86 SDL2.lib SDL2main.lib opengl32.lib shell32.lib 7 | mkdir %OUT_DIR% 8 | cl /nologo /Zi /MD %INCLUDES% %SOURCES% /Fe%OUT_DIR%/%OUT_EXE%.exe /Fo%OUT_DIR%/ /link %LIBS% /subsystem:console 9 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/examples/example_sdl_opengl3/build_win32.bat: -------------------------------------------------------------------------------- 1 | @REM Build for Visual Studio compiler. Run your copy of vcvars32.bat or vcvarsall.bat to setup command-line compiler. 2 | @set OUT_DIR=Debug 3 | @set OUT_EXE=example_sdl_opengl3 4 | @set INCLUDES=/I..\.. /I..\..\backends /I%SDL2_DIR%\include 5 | @set SOURCES=main.cpp ..\..\backends\imgui_impl_sdl.cpp ..\..\backends\imgui_impl_opengl3.cpp ..\..\imgui*.cpp 6 | @set LIBS=/LIBPATH:%SDL2_DIR%\lib\x86 SDL2.lib SDL2main.lib opengl32.lib shell32.lib 7 | mkdir %OUT_DIR% 8 | cl /nologo /Zi /MD %INCLUDES% %SOURCES% /Fe%OUT_DIR%/%OUT_EXE%.exe /Fo%OUT_DIR%/ /link %LIBS% /subsystem:console 9 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/examples/example_sdl_sdlrenderer/build_win32.bat: -------------------------------------------------------------------------------- 1 | @REM Build for Visual Studio compiler. Run your copy of vcvars32.bat or vcvarsall.bat to setup command-line compiler. 2 | @set OUT_DIR=Debug 3 | @set OUT_EXE=example_sdl_sdlrenderer_ 4 | @set INCLUDES=/I..\.. /I..\..\backends /I%SDL2_DIR%\include 5 | @set SOURCES=main.cpp ..\..\backends\imgui_impl_sdl.cpp ..\..\backends\imgui_impl_sdlrenderer.cpp ..\..\imgui*.cpp 6 | @set LIBS=/LIBPATH:%SDL2_DIR%\lib\x86 SDL2.lib SDL2main.lib 7 | mkdir %OUT_DIR% 8 | cl /nologo /Zi /MD %INCLUDES% %SOURCES% /Fe%OUT_DIR%/%OUT_EXE%.exe /Fo%OUT_DIR%/ /link %LIBS% /subsystem:console 9 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/examples/example_sdl_vulkan/build_win32.bat: -------------------------------------------------------------------------------- 1 | @REM Build for Visual Studio compiler. Run your copy of vcvars32.bat or vcvarsall.bat to setup command-line compiler. 2 | 3 | @set OUT_EXE=example_sdl_vulkan 4 | @set INCLUDES=/I..\.. /I..\..\backends /I%SDL2_DIR%\include /I %VULKAN_SDK%\include 5 | @set SOURCES=main.cpp ..\..\backends\imgui_impl_sdl.cpp ..\..\backends\imgui_impl_vulkan.cpp ..\..\imgui*.cpp 6 | @set LIBS=/LIBPATH:%SDL2_DIR%\lib\x86 /libpath:%VULKAN_SDK%\lib32 SDL2.lib SDL2main.lib shell32.lib vulkan-1.lib 7 | 8 | @set OUT_DIR=Debug 9 | mkdir %OUT_DIR% 10 | cl /nologo /Zi /MD %INCLUDES% %SOURCES% /Fe%OUT_DIR%/%OUT_EXE%.exe /Fo%OUT_DIR%/ /link %LIBS% /subsystem:console 11 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/examples/example_win32_directx10/build_win32.bat: -------------------------------------------------------------------------------- 1 | @REM Build for Visual Studio compiler. Run your copy of vcvars32.bat or vcvarsall.bat to setup command-line compiler. 2 | @set OUT_DIR=Debug 3 | @set OUT_EXE=example_win32_directx10 4 | @set INCLUDES=/I..\.. /I..\..\backends /I "%WindowsSdkDir%Include\um" /I "%WindowsSdkDir%Include\shared" /I "%DXSDK_DIR%Include" 5 | @set SOURCES=main.cpp ..\..\backends\imgui_impl_win32.cpp ..\..\backends\imgui_impl_dx10.cpp ..\..\imgui*.cpp 6 | @set LIBS=/LIBPATH:"%DXSDK_DIR%/Lib/x86" d3d10.lib d3dcompiler.lib 7 | mkdir %OUT_DIR% 8 | cl /nologo /Zi /MD %INCLUDES% /D UNICODE /D _UNICODE %SOURCES% /Fe%OUT_DIR%/%OUT_EXE%.exe /Fo%OUT_DIR%/ /link %LIBS% 9 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/examples/example_win32_directx11/build_win32.bat: -------------------------------------------------------------------------------- 1 | @REM Build for Visual Studio compiler. Run your copy of vcvars32.bat or vcvarsall.bat to setup command-line compiler. 2 | @set OUT_DIR=Debug 3 | @set OUT_EXE=example_win32_directx11 4 | @set INCLUDES=/I..\.. /I..\..\backends /I "%WindowsSdkDir%Include\um" /I "%WindowsSdkDir%Include\shared" /I "%DXSDK_DIR%Include" 5 | @set SOURCES=main.cpp ..\..\backends\imgui_impl_dx11.cpp ..\..\backends\imgui_impl_win32.cpp ..\..\imgui*.cpp 6 | @set LIBS=/LIBPATH:"%DXSDK_DIR%/Lib/x86" d3d11.lib d3dcompiler.lib 7 | mkdir %OUT_DIR% 8 | cl /nologo /Zi /MD %INCLUDES% /D UNICODE /D _UNICODE %SOURCES% /Fe%OUT_DIR%/%OUT_EXE%.exe /Fo%OUT_DIR%/ /link %LIBS% 9 | 10 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/examples/example_win32_directx12/build_win32.bat: -------------------------------------------------------------------------------- 1 | @REM Build for Visual Studio compiler. Run your copy of vcvars32.bat or vcvarsall.bat to setup command-line compiler. 2 | @REM Important: to build on 32-bit systems, the DX12 backends needs '#define ImTextureID ImU64', so we pass it here. 3 | @set OUT_DIR=Debug 4 | @set OUT_EXE=example_win32_directx12 5 | @set INCLUDES=/I..\.. /I..\..\backends /I "%WindowsSdkDir%Include\um" /I "%WindowsSdkDir%Include\shared" 6 | @set SOURCES=main.cpp ..\..\backends\imgui_impl_dx12.cpp ..\..\backends\imgui_impl_win32.cpp ..\..\imgui*.cpp 7 | @set LIBS=d3d12.lib d3dcompiler.lib dxgi.lib 8 | mkdir Debug 9 | cl /nologo /Zi /MD %INCLUDES% /D ImTextureID=ImU64 /D UNICODE /D _UNICODE %SOURCES% /Fe%OUT_DIR%/%OUT_EXE%.exe /Fo%OUT_DIR%/ /link %LIBS% 10 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/examples/example_win32_directx9/build_win32.bat: -------------------------------------------------------------------------------- 1 | @REM Build for Visual Studio compiler. Run your copy of vcvars32.bat or vcvarsall.bat to setup command-line compiler. 2 | @set OUT_DIR=Debug 3 | @set OUT_EXE=example_win32_directx9 4 | @set INCLUDES=/I..\.. /I..\..\backends /I "%DXSDK_DIR%/Include" 5 | @set SOURCES=main.cpp ..\..\backends\imgui_impl_dx9.cpp ..\..\backends\imgui_impl_win32.cpp ..\..\imgui*.cpp 6 | @set LIBS=/LIBPATH:"%DXSDK_DIR%/Lib/x86" d3d9.lib 7 | mkdir %OUT_DIR% 8 | cl /nologo /Zi /MD %INCLUDES% /D UNICODE /D _UNICODE %SOURCES% /Fe%OUT_DIR%/%OUT_EXE%.exe /Fo%OUT_DIR%/ /link %LIBS% 9 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/examples/libs/glfw/COPYING.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2002-2006 Marcus Geelnard 2 | Copyright (c) 2006-2010 Camilla Berglund 3 | 4 | This software is provided 'as-is', without any express or implied 5 | warranty. In no event will the authors be held liable for any damages 6 | arising from the use of this software. 7 | 8 | Permission is granted to anyone to use this software for any purpose, 9 | including commercial applications, and to alter it and redistribute it 10 | freely, subject to the following restrictions: 11 | 12 | 1. The origin of this software must not be misrepresented; you must not 13 | claim that you wrote the original software. If you use this software 14 | in a product, an acknowledgment in the product documentation would 15 | be appreciated but is not required. 16 | 17 | 2. Altered source versions must be plainly marked as such, and must not 18 | be misrepresented as being the original software. 19 | 20 | 3. This notice may not be removed or altered from any source 21 | distribution. 22 | 23 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/examples/libs/usynergy/README.txt: -------------------------------------------------------------------------------- 1 | 2 | uSynergy client -- Implementation for the embedded Synergy client library 3 | version 1.0.0, July 7th, 2012 4 | Copyright (c) 2012 Alex Evans 5 | 6 | This is a copy of the files once found at: 7 | https://github.com/symless/synergy-core/tree/790d108a56ada9caad8e56ff777d444485a69da9/src/micro 8 | 9 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/misc/README.txt: -------------------------------------------------------------------------------- 1 | 2 | misc/cpp/ 3 | InputText() wrappers for C++ standard library (STL) type: std::string. 4 | This is also an example of how you may wrap your own similar types. 5 | 6 | misc/debuggers/ 7 | Helper files for popular debuggers. 8 | With the .natvis file, types like ImVector<> will be displayed nicely in Visual Studio debugger. 9 | 10 | misc/fonts/ 11 | Fonts loading/merging instructions (e.g. How to handle glyph ranges, how to merge icons fonts). 12 | Command line tool "binary_to_compressed_c" to create compressed arrays to embed data in source code. 13 | Suggested fonts and links. 14 | 15 | misc/freetype/ 16 | Font atlas builder/rasterizer using FreeType instead of stb_truetype. 17 | Benefit from better FreeType rasterization, in particular for small fonts. 18 | 19 | misc/single_file/ 20 | Single-file header stub. 21 | We use this to validate compiling all *.cpp files in a same compilation unit. 22 | Users of that technique (also called "Unity builds") can generally provide this themselves, 23 | so we don't really recommend you use this in your projects. 24 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/misc/cpp/README.txt: -------------------------------------------------------------------------------- 1 | 2 | imgui_stdlib.h + imgui_stdlib.cpp 3 | InputText() wrappers for C++ standard library (STL) type: std::string. 4 | This is also an example of how you may wrap your own similar types. 5 | 6 | imgui_scoped.h 7 | [Experimental, not currently in main repository] 8 | Additional header file with some RAII-style wrappers for common Dear ImGui functions. 9 | Try by merging: https://github.com/ocornut/imgui/pull/2197 10 | Discuss at: https://github.com/ocornut/imgui/issues/2096 11 | 12 | See more C++ related extension on Wiki 13 | https://github.com/ocornut/imgui/wiki/Useful-Extensions#cness 14 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/misc/debuggers/README.txt: -------------------------------------------------------------------------------- 1 | 2 | HELPER FILES FOR POPULAR DEBUGGERS 3 | 4 | imgui.gdb 5 | GDB: disable stepping into trivial functions. 6 | (read comments inside file for details) 7 | 8 | imgui.natstepfilter 9 | Visual Studio Debugger: disable stepping into trivial functions. 10 | (read comments inside file for details) 11 | 12 | imgui.natvis 13 | Visual Studio Debugger: describe Dear ImGui types for better display. 14 | With this, types like ImVector<> will be displayed nicely in the debugger. 15 | (read comments inside file for details) 16 | 17 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/misc/debuggers/imgui.gdb: -------------------------------------------------------------------------------- 1 | # GDB configuration to aid debugging experience 2 | 3 | # To enable these customizations edit $HOME/.gdbinit (or ./.gdbinit if local gdbinit is enabled) and add: 4 | # add-auto-load-safe-path /path/to/imgui.gdb 5 | # source /path/to/imgui.gdb 6 | # 7 | # More Information at: 8 | # * https://sourceware.org/gdb/current/onlinedocs/gdb/gdbinit-man.html 9 | # * https://sourceware.org/gdb/current/onlinedocs/gdb/Init-File-in-the-Current-Directory.html#Init-File-in-the-Current-Directory 10 | 11 | # Disable stepping into trivial functions 12 | skip -rfunction Im(Vec2|Vec4|Strv|Vector|Span)::.+ 13 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/misc/fonts/Cousine-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/MiniEngine/Dependencies/imgui/misc/fonts/Cousine-Regular.ttf -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/misc/fonts/DroidSans.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/MiniEngine/Dependencies/imgui/misc/fonts/DroidSans.ttf -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/misc/fonts/Karla-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/MiniEngine/Dependencies/imgui/misc/fonts/Karla-Regular.ttf -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/misc/fonts/ProggyClean.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/MiniEngine/Dependencies/imgui/misc/fonts/ProggyClean.ttf -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/misc/fonts/ProggyTiny.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/MiniEngine/Dependencies/imgui/misc/fonts/ProggyTiny.ttf -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/misc/fonts/Roboto-Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/MiniEngine/Dependencies/imgui/misc/fonts/Roboto-Medium.ttf -------------------------------------------------------------------------------- /MiniEngine/Dependencies/imgui/misc/single_file/imgui_single_file.h: -------------------------------------------------------------------------------- 1 | // dear imgui: single-file wrapper include 2 | // We use this to validate compiling all *.cpp files in a same compilation unit. 3 | // Users of that technique (also called "Unity builds") can generally provide this themselves, 4 | // so we don't really recommend you use this in your projects. 5 | 6 | // Do this: 7 | // #define IMGUI_IMPLEMENTATION 8 | // Before you include this file in *one* C++ file to create the implementation. 9 | // Using this in your project will leak the contents of imgui_internal.h and ImVec2 operators in this compilation unit. 10 | #include "../../imgui.h" 11 | 12 | #ifdef IMGUI_IMPLEMENTATION 13 | #include "../../imgui.cpp" 14 | #include "../../imgui_demo.cpp" 15 | #include "../../imgui_draw.cpp" 16 | #include "../../imgui_tables.cpp" 17 | #include "../../imgui_widgets.cpp" 18 | #endif 19 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | -@echo "Please use ./configure first. Thank you." 3 | 4 | distclean: 5 | make -f Makefile.in distclean 6 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/contrib/ada/zlib.gpr: -------------------------------------------------------------------------------- 1 | project Zlib is 2 | 3 | for Languages use ("Ada"); 4 | for Source_Dirs use ("."); 5 | for Object_Dir use "."; 6 | for Main use ("test.adb", "mtest.adb", "read.adb", "buffer_demo"); 7 | 8 | package Compiler is 9 | for Default_Switches ("ada") use ("-gnatwcfilopru", "-gnatVcdfimorst", "-gnatyabcefhiklmnoprst"); 10 | end Compiler; 11 | 12 | package Linker is 13 | for Default_Switches ("ada") use ("-lz"); 14 | end Linker; 15 | 16 | package Builder is 17 | for Default_Switches ("ada") use ("-s", "-gnatQ"); 18 | end Builder; 19 | 20 | end Zlib; 21 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/contrib/blast/Makefile: -------------------------------------------------------------------------------- 1 | blast: blast.c blast.h 2 | cc -DTEST -o blast blast.c 3 | 4 | test: blast 5 | blast < test.pk | cmp - test.txt 6 | 7 | clean: 8 | rm -f blast blast.o 9 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/contrib/blast/README: -------------------------------------------------------------------------------- 1 | Read blast.h for purpose and usage. 2 | 3 | Mark Adler 4 | madler@alumni.caltech.edu 5 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/contrib/blast/test.pk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/MiniEngine/Dependencies/zlib/contrib/blast/test.pk -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/contrib/blast/test.txt: -------------------------------------------------------------------------------- 1 | AIAIAIAIAIAIA -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/contrib/delphi/ZLibConst.pas: -------------------------------------------------------------------------------- 1 | unit ZLibConst; 2 | 3 | interface 4 | 5 | resourcestring 6 | sTargetBufferTooSmall = 'ZLib error: target buffer may be too small'; 7 | sInvalidStreamOp = 'Invalid stream operation'; 8 | 9 | implementation 10 | 11 | end. 12 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/contrib/dotzlib/DotZLib.chm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/MiniEngine/Dependencies/zlib/contrib/dotzlib/DotZLib.chm -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/contrib/dotzlib/DotZLib.sln: -------------------------------------------------------------------------------- 1 | Microsoft Visual Studio Solution File, Format Version 8.00 2 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotZLib", "DotZLib\DotZLib.csproj", "{BB1EE0B1-1808-46CB-B786-949D91117FC5}" 3 | ProjectSection(ProjectDependencies) = postProject 4 | EndProjectSection 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfiguration) = preSolution 8 | Debug = Debug 9 | Release = Release 10 | EndGlobalSection 11 | GlobalSection(ProjectConfiguration) = postSolution 12 | {BB1EE0B1-1808-46CB-B786-949D91117FC5}.Debug.ActiveCfg = Debug|.NET 13 | {BB1EE0B1-1808-46CB-B786-949D91117FC5}.Debug.Build.0 = Debug|.NET 14 | {BB1EE0B1-1808-46CB-B786-949D91117FC5}.Release.ActiveCfg = Release|.NET 15 | {BB1EE0B1-1808-46CB-B786-949D91117FC5}.Release.Build.0 = Release|.NET 16 | EndGlobalSection 17 | GlobalSection(ExtensibilityGlobals) = postSolution 18 | EndGlobalSection 19 | GlobalSection(ExtensibilityAddIns) = postSolution 20 | EndGlobalSection 21 | EndGlobal 22 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/contrib/dotzlib/DotZLib/ChecksumImpl.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/MiniEngine/Dependencies/zlib/contrib/dotzlib/DotZLib/ChecksumImpl.cs -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/contrib/dotzlib/DotZLib/CircularBuffer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/MiniEngine/Dependencies/zlib/contrib/dotzlib/DotZLib/CircularBuffer.cs -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/contrib/dotzlib/DotZLib/CodecBase.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/MiniEngine/Dependencies/zlib/contrib/dotzlib/DotZLib/CodecBase.cs -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/contrib/dotzlib/DotZLib/Deflater.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/MiniEngine/Dependencies/zlib/contrib/dotzlib/DotZLib/Deflater.cs -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/contrib/dotzlib/DotZLib/DotZLib.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/MiniEngine/Dependencies/zlib/contrib/dotzlib/DotZLib/DotZLib.cs -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/contrib/dotzlib/DotZLib/GZipStream.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/MiniEngine/Dependencies/zlib/contrib/dotzlib/DotZLib/GZipStream.cs -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/contrib/dotzlib/DotZLib/Inflater.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/MiniEngine/Dependencies/zlib/contrib/dotzlib/DotZLib/Inflater.cs -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/contrib/infback9/README: -------------------------------------------------------------------------------- 1 | See infback9.h for what this is and how to use it. 2 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/contrib/iostream/test.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "zfstream.h" 3 | 4 | int main() { 5 | 6 | // Construct a stream object with this filebuffer. Anything sent 7 | // to this stream will go to standard out. 8 | gzofstream os( 1, ios::out ); 9 | 10 | // This text is getting compressed and sent to stdout. 11 | // To prove this, run 'test | zcat'. 12 | os << "Hello, Mommy" << endl; 13 | 14 | os << setcompressionlevel( Z_NO_COMPRESSION ); 15 | os << "hello, hello, hi, ho!" << endl; 16 | 17 | setcompressionlevel( os, Z_DEFAULT_COMPRESSION ) 18 | << "I'm compressing again" << endl; 19 | 20 | os.close(); 21 | 22 | return 0; 23 | 24 | } 25 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/contrib/iostream2/zstream_test.cpp: -------------------------------------------------------------------------------- 1 | #include "zstream.h" 2 | #include 3 | #include 4 | #include 5 | 6 | void main() { 7 | char h[256] = "Hello"; 8 | char* g = "Goodbye"; 9 | ozstream out("temp.gz"); 10 | out < "This works well" < h < g; 11 | out.close(); 12 | 13 | izstream in("temp.gz"); // read it back 14 | char *x = read_string(in), *y = new char[256], z[256]; 15 | in > y > z; 16 | in.close(); 17 | cout << x << endl << y << endl << z << endl; 18 | 19 | out.open("temp.gz"); // try ascii output; zcat temp.gz to see the results 20 | out << setw(50) << setfill('#') << setprecision(20) << x << endl << y << endl << z << endl; 21 | out << z << endl << y << endl << x << endl; 22 | out << 1.1234567890123456789 << endl; 23 | 24 | delete[] x; delete[] y; 25 | } 26 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/contrib/iostream3/TODO: -------------------------------------------------------------------------------- 1 | Possible upgrades to gzfilebuf: 2 | 3 | - The ability to do putback (e.g. putbackfail) 4 | 5 | - The ability to seek (zlib supports this, but could be slow/tricky) 6 | 7 | - Simultaneous read/write access (does it make sense?) 8 | 9 | - Support for ios_base::ate open mode 10 | 11 | - Locale support? 12 | 13 | - Check public interface to see which calls give problems 14 | (due to dependence on library internals) 15 | 16 | - Override operator<<(ostream&, gzfilebuf*) to allow direct copying 17 | of stream buffer to stream ( i.e. os << is.rdbuf(); ) 18 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/contrib/minizip/Makefile: -------------------------------------------------------------------------------- 1 | CC=cc 2 | CFLAGS := $(CFLAGS) -O -I../.. 3 | 4 | UNZ_OBJS = miniunz.o unzip.o ioapi.o ../../libz.a 5 | ZIP_OBJS = minizip.o zip.o ioapi.o ../../libz.a 6 | 7 | .c.o: 8 | $(CC) -c $(CFLAGS) $*.c 9 | 10 | all: miniunz minizip 11 | 12 | miniunz: $(UNZ_OBJS) 13 | $(CC) $(CFLAGS) -o $@ $(UNZ_OBJS) 14 | 15 | minizip: $(ZIP_OBJS) 16 | $(CC) $(CFLAGS) -o $@ $(ZIP_OBJS) 17 | 18 | test: miniunz minizip 19 | @rm -f test.* 20 | @echo hello hello hello > test.txt 21 | ./minizip test test.txt 22 | ./miniunz -l test.zip 23 | @mv test.txt test.old 24 | ./miniunz test.zip 25 | @cmp test.txt test.old 26 | @rm -f test.* 27 | 28 | clean: 29 | /bin/rm -f *.o *~ minizip miniunz test.* 30 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/contrib/minizip/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = libminizip.la 2 | 3 | if COND_DEMOS 4 | bin_PROGRAMS = miniunzip minizip 5 | endif 6 | 7 | zlib_top_srcdir = $(top_srcdir)/../.. 8 | zlib_top_builddir = $(top_builddir)/../.. 9 | 10 | AM_CPPFLAGS = -I$(zlib_top_srcdir) 11 | AM_LDFLAGS = -L$(zlib_top_builddir) 12 | 13 | if WIN32 14 | iowin32_src = iowin32.c 15 | iowin32_h = iowin32.h 16 | endif 17 | 18 | libminizip_la_SOURCES = \ 19 | ioapi.c \ 20 | mztools.c \ 21 | unzip.c \ 22 | zip.c \ 23 | ${iowin32_src} 24 | 25 | libminizip_la_LDFLAGS = $(AM_LDFLAGS) -version-info 1:0:0 -lz 26 | 27 | minizip_includedir = $(includedir)/minizip 28 | minizip_include_HEADERS = \ 29 | crypt.h \ 30 | ioapi.h \ 31 | mztools.h \ 32 | unzip.h \ 33 | zip.h \ 34 | ${iowin32_h} 35 | 36 | pkgconfigdir = $(libdir)/pkgconfig 37 | pkgconfig_DATA = minizip.pc 38 | 39 | EXTRA_PROGRAMS = miniunzip minizip 40 | 41 | miniunzip_SOURCES = miniunz.c 42 | miniunzip_LDADD = libminizip.la 43 | 44 | minizip_SOURCES = minizip.c 45 | minizip_LDADD = libminizip.la -lz 46 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/contrib/minizip/MiniZip64_Changes.txt: -------------------------------------------------------------------------------- 1 | 2 | MiniZip 1.1 was derrived from MiniZip at version 1.01f 3 | 4 | Change in 1.0 (Okt 2009) 5 | - **TODO - Add history** 6 | 7 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/contrib/minizip/configure.ac: -------------------------------------------------------------------------------- 1 | # -*- Autoconf -*- 2 | # Process this file with autoconf to produce a configure script. 3 | 4 | AC_INIT([minizip], [1.2.12], [bugzilla.redhat.com]) 5 | AC_CONFIG_SRCDIR([minizip.c]) 6 | AM_INIT_AUTOMAKE([foreign]) 7 | LT_INIT 8 | 9 | AC_MSG_CHECKING([whether to build example programs]) 10 | AC_ARG_ENABLE([demos], AC_HELP_STRING([--enable-demos], [build example programs])) 11 | AM_CONDITIONAL([COND_DEMOS], [test "$enable_demos" = yes]) 12 | if test "$enable_demos" = yes 13 | then 14 | AC_MSG_RESULT([yes]) 15 | else 16 | AC_MSG_RESULT([no]) 17 | fi 18 | 19 | case "${host}" in 20 | *-mingw* | mingw*) 21 | WIN32="yes" 22 | ;; 23 | *) 24 | ;; 25 | esac 26 | AM_CONDITIONAL([WIN32], [test "${WIN32}" = "yes"]) 27 | 28 | 29 | AC_SUBST([HAVE_UNISTD_H], [0]) 30 | AC_CHECK_HEADER([unistd.h], [HAVE_UNISTD_H=1], []) 31 | AC_CONFIG_FILES([Makefile minizip.pc]) 32 | AC_OUTPUT 33 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/contrib/minizip/iowin32.h: -------------------------------------------------------------------------------- 1 | /* iowin32.h -- IO base function header for compress/uncompress .zip 2 | Version 1.1, February 14h, 2010 3 | part of the MiniZip project - ( http://www.winimage.com/zLibDll/minizip.html ) 4 | 5 | Copyright (C) 1998-2010 Gilles Vollant (minizip) ( http://www.winimage.com/zLibDll/minizip.html ) 6 | 7 | Modifications for Zip64 support 8 | Copyright (C) 2009-2010 Mathias Svensson ( http://result42.com ) 9 | 10 | For more info read MiniZip_info.txt 11 | 12 | */ 13 | 14 | #include 15 | 16 | 17 | #ifdef __cplusplus 18 | extern "C" { 19 | #endif 20 | 21 | void fill_win32_filefunc OF((zlib_filefunc_def* pzlib_filefunc_def)); 22 | void fill_win32_filefunc64 OF((zlib_filefunc64_def* pzlib_filefunc_def)); 23 | void fill_win32_filefunc64A OF((zlib_filefunc64_def* pzlib_filefunc_def)); 24 | void fill_win32_filefunc64W OF((zlib_filefunc64_def* pzlib_filefunc_def)); 25 | 26 | #ifdef __cplusplus 27 | } 28 | #endif 29 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/contrib/minizip/make_vms.com: -------------------------------------------------------------------------------- 1 | $ if f$search("ioapi.h_orig") .eqs. "" then copy ioapi.h ioapi.h_orig 2 | $ open/write zdef vmsdefs.h 3 | $ copy sys$input: zdef 4 | $ deck 5 | #define unix 6 | #define fill_zlib_filefunc64_32_def_from_filefunc32 fillzffunc64from 7 | #define Write_Zip64EndOfCentralDirectoryLocator Write_Zip64EoDLocator 8 | #define Write_Zip64EndOfCentralDirectoryRecord Write_Zip64EoDRecord 9 | #define Write_EndOfCentralDirectoryRecord Write_EoDRecord 10 | $ eod 11 | $ close zdef 12 | $ copy vmsdefs.h,ioapi.h_orig ioapi.h 13 | $ cc/include=[--]/prefix=all ioapi.c 14 | $ cc/include=[--]/prefix=all miniunz.c 15 | $ cc/include=[--]/prefix=all unzip.c 16 | $ cc/include=[--]/prefix=all minizip.c 17 | $ cc/include=[--]/prefix=all zip.c 18 | $ link miniunz,unzip,ioapi,[--]libz.olb/lib 19 | $ link minizip,zip,ioapi,[--]libz.olb/lib 20 | $ mcr []minizip test minizip_info.txt 21 | $ mcr []miniunz -l test.zip 22 | $ rename minizip_info.txt; minizip_info.txt_old 23 | $ mcr []miniunz test.zip 24 | $ delete test.zip;* 25 | $exit 26 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/contrib/minizip/minizip.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@/minizip 5 | 6 | Name: minizip 7 | Description: Minizip zip file manipulation library 8 | Requires: 9 | Version: @PACKAGE_VERSION@ 10 | Libs: -L${libdir} -lminizip 11 | Libs.private: -lz 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/contrib/minizip/mztools.h: -------------------------------------------------------------------------------- 1 | /* 2 | Additional tools for Minizip 3 | Code: Xavier Roche '2004 4 | License: Same as ZLIB (www.gzip.org) 5 | */ 6 | 7 | #ifndef _zip_tools_H 8 | #define _zip_tools_H 9 | 10 | #ifdef __cplusplus 11 | extern "C" { 12 | #endif 13 | 14 | #ifndef _ZLIB_H 15 | #include "zlib.h" 16 | #endif 17 | 18 | #include "unzip.h" 19 | 20 | /* Repair a ZIP file (missing central directory) 21 | file: file to recover 22 | fileOut: output file after recovery 23 | fileOutTmp: temporary file name used for recovery 24 | */ 25 | extern int ZEXPORT unzRepair(const char* file, 26 | const char* fileOut, 27 | const char* fileOutTmp, 28 | uLong* nRecovered, 29 | uLong* bytesRecovered); 30 | 31 | 32 | #ifdef __cplusplus 33 | } 34 | #endif 35 | 36 | 37 | #endif 38 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/contrib/puff/zeros.raw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/MiniEngine/Dependencies/zlib/contrib/puff/zeros.raw -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/contrib/testzlib/testzlib.txt: -------------------------------------------------------------------------------- 1 | To build testzLib with Visual Studio 2005: 2 | 3 | copy to a directory file from : 4 | - root of zLib tree 5 | - contrib/testzlib 6 | - contrib/masmx86 7 | - contrib/masmx64 8 | - contrib/vstudio/vc7 9 | 10 | and open testzlib8.sln -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/contrib/untgz/Makefile: -------------------------------------------------------------------------------- 1 | CC=cc 2 | CFLAGS=-g 3 | 4 | untgz: untgz.o ../../libz.a 5 | $(CC) $(CFLAGS) -o untgz untgz.o -L../.. -lz 6 | 7 | untgz.o: untgz.c ../../zlib.h 8 | $(CC) $(CFLAGS) -c -I../.. untgz.c 9 | 10 | ../../libz.a: 11 | cd ../..; ./configure; make 12 | 13 | clean: 14 | rm -f untgz untgz.o *~ 15 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/contrib/untgz/Makefile.msc: -------------------------------------------------------------------------------- 1 | CC=cl 2 | CFLAGS=-MD 3 | 4 | untgz.exe: untgz.obj ..\..\zlib.lib 5 | $(CC) $(CFLAGS) untgz.obj ..\..\zlib.lib 6 | 7 | untgz.obj: untgz.c ..\..\zlib.h 8 | $(CC) $(CFLAGS) -c -I..\.. untgz.c 9 | 10 | ..\..\zlib.lib: 11 | cd ..\.. 12 | $(MAKE) -f win32\makefile.msc 13 | cd contrib\untgz 14 | 15 | clean: 16 | -del untgz.obj 17 | -del untgz.exe 18 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/contrib/vstudio/vc10/miniunz.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {048af943-022b-4db6-beeb-a54c34774ee2} 6 | cpp;c;cxx;def;odl;idl;hpj;bat;asm 7 | 8 | 9 | {c1d600d2-888f-4aea-b73e-8b0dd9befa0c} 10 | h;hpp;hxx;hm;inl;inc 11 | 12 | 13 | {0844199a-966b-4f19-81db-1e0125e141b9} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe 15 | 16 | 17 | 18 | 19 | Source Files 20 | 21 | 22 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/contrib/vstudio/vc10/minizip.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {c0419b40-bf50-40da-b153-ff74215b79de} 6 | cpp;c;cxx;def;odl;idl;hpj;bat;asm 7 | 8 | 9 | {bb87b070-735b-478e-92ce-7383abb2f36c} 10 | h;hpp;hxx;hm;inl;inc 11 | 12 | 13 | {f46ab6a6-548f-43cb-ae96-681abb5bd5db} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe 15 | 16 | 17 | 18 | 19 | Source Files 20 | 21 | 22 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/contrib/vstudio/vc10/testzlibdll.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {fa61a89f-93fc-4c89-b29e-36224b7592f4} 6 | cpp;c;cxx;def;odl;idl;hpj;bat;asm 7 | 8 | 9 | {d4b85da0-2ba2-4934-b57f-e2584e3848ee} 10 | h;hpp;hxx;hm;inl;inc 11 | 12 | 13 | {e573e075-00bd-4a7d-bd67-a8cc9bfc5aca} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe 15 | 16 | 17 | 18 | 19 | Source Files 20 | 21 | 22 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/contrib/vstudio/vc10/zlib.rc: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #define IDR_VERSION1 1 4 | IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE 5 | FILEVERSION 1, 2, 12, 0 6 | PRODUCTVERSION 1, 2, 12, 0 7 | FILEFLAGSMASK VS_FFI_FILEFLAGSMASK 8 | FILEFLAGS 0 9 | FILEOS VOS_DOS_WINDOWS32 10 | FILETYPE VFT_DLL 11 | FILESUBTYPE 0 // not used 12 | BEGIN 13 | BLOCK "StringFileInfo" 14 | BEGIN 15 | BLOCK "040904E4" 16 | //language ID = U.S. English, char set = Windows, Multilingual 17 | 18 | BEGIN 19 | VALUE "FileDescription", "zlib data compression and ZIP file I/O library\0" 20 | VALUE "FileVersion", "1.2.12\0" 21 | VALUE "InternalName", "zlib\0" 22 | VALUE "OriginalFilename", "zlibwapi.dll\0" 23 | VALUE "ProductName", "ZLib.DLL\0" 24 | VALUE "Comments","DLL support by Alessandro Iacopetti & Gilles Vollant\0" 25 | VALUE "LegalCopyright", "(C) 1995-2022 Jean-loup Gailly & Mark Adler\0" 26 | END 27 | END 28 | BLOCK "VarFileInfo" 29 | BEGIN 30 | VALUE "Translation", 0x0409, 1252 31 | END 32 | END 33 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/contrib/vstudio/vc11/zlib.rc: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #define IDR_VERSION1 1 4 | IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE 5 | FILEVERSION 1, 2, 12, 0 6 | PRODUCTVERSION 1, 2, 12, 0 7 | FILEFLAGSMASK VS_FFI_FILEFLAGSMASK 8 | FILEFLAGS 0 9 | FILEOS VOS_DOS_WINDOWS32 10 | FILETYPE VFT_DLL 11 | FILESUBTYPE 0 // not used 12 | BEGIN 13 | BLOCK "StringFileInfo" 14 | BEGIN 15 | BLOCK "040904E4" 16 | //language ID = U.S. English, char set = Windows, Multilingual 17 | 18 | BEGIN 19 | VALUE "FileDescription", "zlib data compression and ZIP file I/O library\0" 20 | VALUE "FileVersion", "1.2.12\0" 21 | VALUE "InternalName", "zlib\0" 22 | VALUE "OriginalFilename", "zlibwapi.dll\0" 23 | VALUE "ProductName", "ZLib.DLL\0" 24 | VALUE "Comments","DLL support by Alessandro Iacopetti & Gilles Vollant\0" 25 | VALUE "LegalCopyright", "(C) 1995-2022 Jean-loup Gailly & Mark Adler\0" 26 | END 27 | END 28 | BLOCK "VarFileInfo" 29 | BEGIN 30 | VALUE "Translation", 0x0409, 1252 31 | END 32 | END 33 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/contrib/vstudio/vc12/zlib.rc: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #define IDR_VERSION1 1 4 | IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE 5 | FILEVERSION 1, 2, 12, 0 6 | PRODUCTVERSION 1, 2, 12, 0 7 | FILEFLAGSMASK VS_FFI_FILEFLAGSMASK 8 | FILEFLAGS 0 9 | FILEOS VOS_DOS_WINDOWS32 10 | FILETYPE VFT_DLL 11 | FILESUBTYPE 0 // not used 12 | BEGIN 13 | BLOCK "StringFileInfo" 14 | BEGIN 15 | BLOCK "040904E4" 16 | //language ID = U.S. English, char set = Windows, Multilingual 17 | 18 | BEGIN 19 | VALUE "FileDescription", "zlib data compression and ZIP file I/O library\0" 20 | VALUE "FileVersion", "1.2.12\0" 21 | VALUE "InternalName", "zlib\0" 22 | VALUE "OriginalFilename", "zlibwapi.dll\0" 23 | VALUE "ProductName", "ZLib.DLL\0" 24 | VALUE "Comments","DLL support by Alessandro Iacopetti & Gilles Vollant\0" 25 | VALUE "LegalCopyright", "(C) 1995-2022 Jean-loup Gailly & Mark Adler\0" 26 | END 27 | END 28 | BLOCK "VarFileInfo" 29 | BEGIN 30 | VALUE "Translation", 0x0409, 1252 31 | END 32 | END 33 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/contrib/vstudio/vc14/zlib.rc: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #define IDR_VERSION1 1 4 | IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE 5 | FILEVERSION 1, 2, 12, 0 6 | PRODUCTVERSION 1, 2, 12, 0 7 | FILEFLAGSMASK VS_FFI_FILEFLAGSMASK 8 | FILEFLAGS 0 9 | FILEOS VOS_DOS_WINDOWS32 10 | FILETYPE VFT_DLL 11 | FILESUBTYPE 0 // not used 12 | BEGIN 13 | BLOCK "StringFileInfo" 14 | BEGIN 15 | BLOCK "040904E4" 16 | //language ID = U.S. English, char set = Windows, Multilingual 17 | 18 | BEGIN 19 | VALUE "FileDescription", "zlib data compression and ZIP file I/O library\0" 20 | VALUE "FileVersion", "1.2.12\0" 21 | VALUE "InternalName", "zlib\0" 22 | VALUE "OriginalFilename", "zlibwapi.dll\0" 23 | VALUE "ProductName", "ZLib.DLL\0" 24 | VALUE "Comments","DLL support by Alessandro Iacopetti & Gilles Vollant\0" 25 | VALUE "LegalCopyright", "(C) 1995-2022 Jean-loup Gailly & Mark Adler\0" 26 | END 27 | END 28 | BLOCK "VarFileInfo" 29 | BEGIN 30 | VALUE "Translation", 0x0409, 1252 31 | END 32 | END 33 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/contrib/vstudio/vc9/zlib.rc: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #define IDR_VERSION1 1 4 | IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE 5 | FILEVERSION 1, 2, 12, 0 6 | PRODUCTVERSION 1, 2, 12, 0 7 | FILEFLAGSMASK VS_FFI_FILEFLAGSMASK 8 | FILEFLAGS 0 9 | FILEOS VOS_DOS_WINDOWS32 10 | FILETYPE VFT_DLL 11 | FILESUBTYPE 0 // not used 12 | BEGIN 13 | BLOCK "StringFileInfo" 14 | BEGIN 15 | BLOCK "040904E4" 16 | //language ID = U.S. English, char set = Windows, Multilingual 17 | 18 | BEGIN 19 | VALUE "FileDescription", "zlib data compression and ZIP file I/O library\0" 20 | VALUE "FileVersion", "1.2.12\0" 21 | VALUE "InternalName", "zlib\0" 22 | VALUE "OriginalFilename", "zlibwapi.dll\0" 23 | VALUE "ProductName", "ZLib.DLL\0" 24 | VALUE "Comments","DLL support by Alessandro Iacopetti & Gilles Vollant\0" 25 | VALUE "LegalCopyright", "(C) 1995-2022 Jean-loup Gailly & Mark Adler\0" 26 | END 27 | END 28 | BLOCK "VarFileInfo" 29 | BEGIN 30 | VALUE "Translation", 0x0409, 1252 31 | END 32 | END 33 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/doc/crc-doc.1.0.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/MiniEngine/Dependencies/zlib/doc/crc-doc.1.0.pdf -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/gzclose.c: -------------------------------------------------------------------------------- 1 | /* gzclose.c -- zlib gzclose() function 2 | * Copyright (C) 2004, 2010 Mark Adler 3 | * For conditions of distribution and use, see copyright notice in zlib.h 4 | */ 5 | 6 | #include "gzguts.h" 7 | 8 | /* gzclose() is in a separate file so that it is linked in only if it is used. 9 | That way the other gzclose functions can be used instead to avoid linking in 10 | unneeded compression or decompression routines. */ 11 | int ZEXPORT gzclose(file) 12 | gzFile file; 13 | { 14 | #ifndef NO_GZCOMPRESS 15 | gz_statep state; 16 | 17 | if (file == NULL) 18 | return Z_STREAM_ERROR; 19 | state = (gz_statep)file; 20 | 21 | return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file); 22 | #else 23 | return gzclose_r(file); 24 | #endif 25 | } 26 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/inffast.h: -------------------------------------------------------------------------------- 1 | /* inffast.h -- header to use inffast.c 2 | * Copyright (C) 1995-2003, 2010 Mark Adler 3 | * For conditions of distribution and use, see copyright notice in zlib.h 4 | */ 5 | 6 | /* WARNING: this file should *not* be used by applications. It is 7 | part of the implementation of the compression library and is 8 | subject to change. Applications should only use zlib.h. 9 | */ 10 | 11 | void ZLIB_INTERNAL inflate_fast OF((z_streamp strm, unsigned start)); 12 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/nintendods/README: -------------------------------------------------------------------------------- 1 | This Makefile requires devkitARM (http://www.devkitpro.org/category/devkitarm/) and works inside "contrib/nds". It is based on a devkitARM template. 2 | 3 | Eduardo Costa 4 | January 3, 2009 5 | 6 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/old/README: -------------------------------------------------------------------------------- 1 | This directory contains files that have not been updated for zlib 1.2.x 2 | 3 | (Volunteers are encouraged to help clean this up. Thanks.) 4 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/old/os2/zlib.def: -------------------------------------------------------------------------------- 1 | ; 2 | ; Slightly modified version of ../nt/zlib.dnt :-) 3 | ; 4 | 5 | LIBRARY Z 6 | DESCRIPTION "Zlib compression library for OS/2" 7 | CODE PRELOAD MOVEABLE DISCARDABLE 8 | DATA PRELOAD MOVEABLE MULTIPLE 9 | 10 | EXPORTS 11 | adler32 12 | compress 13 | crc32 14 | deflate 15 | deflateCopy 16 | deflateEnd 17 | deflateInit2_ 18 | deflateInit_ 19 | deflateParams 20 | deflateReset 21 | deflateSetDictionary 22 | gzclose 23 | gzdopen 24 | gzerror 25 | gzflush 26 | gzopen 27 | gzread 28 | gzwrite 29 | inflate 30 | inflateEnd 31 | inflateInit2_ 32 | inflateInit_ 33 | inflateReset 34 | inflateSetDictionary 35 | inflateSync 36 | uncompress 37 | zlibVersion 38 | gzprintf 39 | gzputc 40 | gzgetc 41 | gzseek 42 | gzrewind 43 | gztell 44 | gzeof 45 | gzsetparams 46 | zError 47 | inflateSyncPoint 48 | get_crc_table 49 | compress2 50 | gzputs 51 | gzgets 52 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/win32/VisualC.txt: -------------------------------------------------------------------------------- 1 | 2 | To build zlib using the Microsoft Visual C++ environment, 3 | use the appropriate project from the contrib/vstudio/ directory. 4 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/zlib.3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/MiniEngine/Dependencies/zlib/zlib.3.pdf -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/zlib.pc.cmakein: -------------------------------------------------------------------------------- 1 | prefix=@CMAKE_INSTALL_PREFIX@ 2 | exec_prefix=@CMAKE_INSTALL_PREFIX@ 3 | libdir=@INSTALL_LIB_DIR@ 4 | sharedlibdir=@INSTALL_LIB_DIR@ 5 | includedir=@INSTALL_INC_DIR@ 6 | 7 | Name: zlib 8 | Description: zlib compression library 9 | Version: @VERSION@ 10 | 11 | Requires: 12 | Libs: -L${libdir} -L${sharedlibdir} -lz 13 | Cflags: -I${includedir} 14 | -------------------------------------------------------------------------------- /MiniEngine/Dependencies/zlib/zlib.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | sharedlibdir=@sharedlibdir@ 5 | includedir=@includedir@ 6 | 7 | Name: zlib 8 | Description: zlib compression library 9 | Version: @VERSION@ 10 | 11 | Requires: 12 | Libs: -L${libdir} -L${sharedlibdir} -lz 13 | Cflags: -I${includedir} 14 | -------------------------------------------------------------------------------- /MiniEngine/License.txt: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2013-2015 Microsoft 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /MiniEngine/Model/ParticleEffects.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author: James Stanard 12 | // 13 | 14 | #pragma once 15 | 16 | #include 17 | 18 | namespace ParticleEffects 19 | { 20 | void InitFromJSON(const std::wstring& InitJsonFile, const std::wstring& AssetsRootDir); 21 | void ClearTexturePool(); 22 | } 23 | -------------------------------------------------------------------------------- /MiniEngine/Model/Shaders/CutoutDepthPS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author(s): James Stanard 12 | // 13 | 14 | #include "Common.hlsli" 15 | 16 | struct VSOutput 17 | { 18 | float4 pos : SV_Position; 19 | float2 uv : TexCoord0; 20 | }; 21 | 22 | Texture2D baseColorTexture : register(t0); 23 | SamplerState baseColorSampler : register(s0); 24 | 25 | cbuffer MaterialConstants : register(b0) 26 | { 27 | float4 baseColorFactor; 28 | float3 emissiveFactor; 29 | float normalTextureScale; 30 | float2 metallicRoughnessFactor; 31 | uint flags; 32 | } 33 | 34 | [RootSignature(Renderer_RootSig)] 35 | void main(VSOutput vsOutput) 36 | { 37 | float cutoff = f16tof32(flags >> 16); 38 | if (baseColorTexture.Sample(baseColorSampler, vsOutput.uv).a < cutoff) 39 | discard; 40 | } 41 | -------------------------------------------------------------------------------- /MiniEngine/Model/Shaders/CutoutDepthSkinVS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author(s): James Stanard 12 | // 13 | 14 | #define ENABLE_SKINNING 15 | #include "CutoutDepthVS.hlsl" -------------------------------------------------------------------------------- /MiniEngine/Model/Shaders/CutoutDepthVS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author(s): James Stanard 12 | // 13 | 14 | #define ENABLE_ALPHATEST 15 | #include "DepthOnlyVS.hlsl" 16 | -------------------------------------------------------------------------------- /MiniEngine/Model/Shaders/DefaultNoTangentNoUV1PS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author(s): James Stanard 12 | // 13 | 14 | #define NO_TANGENT_FRAME 1 15 | #define NO_SECOND_UV 1 16 | #include "DefaultPS.hlsl" -------------------------------------------------------------------------------- /MiniEngine/Model/Shaders/DefaultNoTangentNoUV1SkinVS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author(s): James Stanard 12 | // 13 | 14 | #define ENABLE_SKINNING 15 | #include "DefaultNoTangentNoUV1VS.hlsl" -------------------------------------------------------------------------------- /MiniEngine/Model/Shaders/DefaultNoTangentNoUV1VS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author(s): James Stanard 12 | // 13 | 14 | #define NO_TANGENT_FRAME 1 15 | #define NO_SECOND_UV 1 16 | #include "DefaultVS.hlsl" -------------------------------------------------------------------------------- /MiniEngine/Model/Shaders/DefaultNoTangentPS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author(s): James Stanard 12 | // 13 | 14 | #define NO_TANGENT_FRAME 1 15 | #include "DefaultPS.hlsl" -------------------------------------------------------------------------------- /MiniEngine/Model/Shaders/DefaultNoTangentSkinVS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author(s): James Stanard 12 | // 13 | 14 | #define ENABLE_SKINNING 15 | #include "DefaultNoTangentVS.hlsl" -------------------------------------------------------------------------------- /MiniEngine/Model/Shaders/DefaultNoTangentVS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author(s): James Stanard 12 | // 13 | 14 | #define NO_TANGENT_FRAME 1 15 | #include "DefaultVS.hlsl" -------------------------------------------------------------------------------- /MiniEngine/Model/Shaders/DefaultNoUV1PS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author(s): James Stanard 12 | // 13 | 14 | #define NO_SECOND_UV 1 15 | #include "DefaultPS.hlsl" -------------------------------------------------------------------------------- /MiniEngine/Model/Shaders/DefaultNoUV1SkinVS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author(s): James Stanard 12 | // 13 | 14 | #define ENABLE_SKINNING 15 | #include "DefaultNoUV1VS.hlsl" -------------------------------------------------------------------------------- /MiniEngine/Model/Shaders/DefaultNoUV1VS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author(s): James Stanard 12 | // 13 | 14 | #define NO_SECOND_UV 1 15 | #include "DefaultVS.hlsl" -------------------------------------------------------------------------------- /MiniEngine/Model/Shaders/DefaultSkinVS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author(s): James Stanard 12 | // 13 | 14 | #define ENABLE_SKINNING 15 | #include "DefaultVS.hlsl" -------------------------------------------------------------------------------- /MiniEngine/Model/Shaders/DepthOnlySkinVS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author(s): James Stanard 12 | // 13 | 14 | #define ENABLE_SKINNING 15 | #include "DepthOnlyVS.hlsl" -------------------------------------------------------------------------------- /MiniEngine/Model/Shaders/DepthViewerPS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author(s): James Stanard 12 | // 13 | 14 | #include "Common.hlsli" 15 | 16 | struct VSOutput 17 | { 18 | float4 pos : SV_Position; 19 | float2 uv : TexCoord0; 20 | }; 21 | 22 | Texture2D texDiffuse : register(t0); 23 | 24 | [RootSignature(Renderer_RootSig)] 25 | void main(VSOutput vsOutput) 26 | { 27 | if (texDiffuse.Sample(defaultSampler, vsOutput.uv).a < 0.5) 28 | discard; 29 | } 30 | -------------------------------------------------------------------------------- /MiniEngine/Model/Shaders/DepthViewerVS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author(s): James Stanard 12 | // 13 | 14 | #include "Common.hlsli" 15 | 16 | cbuffer VSConstants : register(b0) 17 | { 18 | float4x4 WVP; 19 | }; 20 | 21 | struct VSInput 22 | { 23 | float3 pos : POSITION; 24 | float2 uv : TEXCOORD; 25 | }; 26 | 27 | struct VSOutput 28 | { 29 | float4 pos : SV_Position; 30 | float2 uv : TexCoord0; 31 | }; 32 | 33 | [RootSignature(Renderer_RootSig)] 34 | VSOutput main(VSInput vsInput) 35 | { 36 | VSOutput vsOutput; 37 | vsOutput.pos = mul(WVP, float4(vsInput.pos, 1.0)); 38 | vsOutput.uv = vsInput.uv; 39 | return vsOutput; 40 | } 41 | -------------------------------------------------------------------------------- /MiniEngine/Model/Shaders/FillLightGrid16CS.hlsl: -------------------------------------------------------------------------------- 1 | #define WORK_GROUP_SIZE_X 16 2 | #define WORK_GROUP_SIZE_Y 16 3 | #define WORK_GROUP_SIZE_Z 1 4 | 5 | #include "FillLightGridCS.hlsli" 6 | -------------------------------------------------------------------------------- /MiniEngine/Model/Shaders/FillLightGrid24CS.hlsl: -------------------------------------------------------------------------------- 1 | #define WORK_GROUP_SIZE_X 24 2 | #define WORK_GROUP_SIZE_Y 24 3 | #define WORK_GROUP_SIZE_Z 1 4 | 5 | #include "FillLightGridCS.hlsli" 6 | -------------------------------------------------------------------------------- /MiniEngine/Model/Shaders/FillLightGrid32CS.hlsl: -------------------------------------------------------------------------------- 1 | #define WORK_GROUP_SIZE_X 32 2 | #define WORK_GROUP_SIZE_Y 32 3 | #define WORK_GROUP_SIZE_Z 1 4 | 5 | #include "FillLightGridCS.hlsli" 6 | -------------------------------------------------------------------------------- /MiniEngine/Model/Shaders/FillLightGrid8CS.hlsl: -------------------------------------------------------------------------------- 1 | #define WORK_GROUP_SIZE_X 8 2 | #define WORK_GROUP_SIZE_Y 8 3 | #define WORK_GROUP_SIZE_Z 1 4 | 5 | #include "FillLightGridCS.hlsli" 6 | -------------------------------------------------------------------------------- /MiniEngine/Model/Shaders/SkyboxPS.hlsl: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | // Author(s): James Stanard 12 | 13 | #include "Common.hlsli" 14 | #include "Core/Shaders/ShaderUtility.hlsli" 15 | 16 | cbuffer PSConstants : register(b0) 17 | { 18 | float TextureLevel; 19 | }; 20 | 21 | TextureCube radianceIBLTexture : register(t10); 22 | 23 | struct VSOutput 24 | { 25 | float4 position : SV_POSITION; 26 | float3 viewDir : TEXCOORD3; 27 | }; 28 | 29 | float3 sRGBToLinear(float3 srgbColor) 30 | { 31 | return RemoveDisplayProfile(srgbColor, DISPLAY_PLANE_FORMAT); 32 | } 33 | 34 | [RootSignature(Renderer_RootSig)] 35 | float4 main(VSOutput vsOutput) : SV_Target0 36 | { 37 | return float4(sRGBToLinear(radianceIBLTexture.SampleLevel(defaultSampler, vsOutput.viewDir, TextureLevel)), 1); 38 | } 39 | -------------------------------------------------------------------------------- /MiniEngine/ModelConverter/ModelAssimp.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 | // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 | // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 | // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 | // 9 | // Developed by Minigraph 10 | // 11 | 12 | #pragma once 13 | 14 | #include "ModelH3D.h" 15 | 16 | class AssimpModel : public ModelH3D 17 | { 18 | public: 19 | 20 | enum 21 | { 22 | format_none = 0, 23 | format_h3d, // native format 24 | format_mini, 25 | 26 | formats, 27 | }; 28 | static const char *s_FormatString[]; 29 | static int FormatFromFilename(const std::string& filename); 30 | 31 | bool Load(const std::string& filename); 32 | bool Save(const std::string& filename) const; 33 | 34 | void PrintModelStats(); 35 | 36 | private: 37 | 38 | bool LoadAssimp(const std::string& filename); 39 | 40 | void Optimize(); 41 | void OptimizeRemoveDuplicateVertices(bool depth); 42 | void OptimizePostTransform(bool depth); 43 | void OptimizePreTransform(bool depth); 44 | }; 45 | 46 | -------------------------------------------------------------------------------- /MiniEngine/ModelConverter/README.txt: -------------------------------------------------------------------------------- 1 | The model converter leverages a 3rd party model importing library called "ASSIMP" (Asset Import Library). Due to an open source licensing concern, ASSIMP is not included in this GitHub repository. You will need to download ASSIMP and install it to the 3rdParty folder. The ModelConverter project file will look for ASSIMP in "../3rdParty/assimp-3.0" unless you change the additional include directories. You should also have "assimp.dll" in your path. We recommended copying this DLL to the ModelConverter folder. The most recent version of ASSIMP is 3.2, but we have only tested with 3.0. You are welcome to make the necessary (if any) changes to work with 3.2. Please notify us via pull request or forum post if you find some discrepencies. 2 | 3 | Regards, 4 | Team Minigraph -------------------------------------------------------------------------------- /MiniEngine/ModelConverter/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /MiniEngine/ModelConverter/readme.md: -------------------------------------------------------------------------------- 1 | The model converter leverages a 3rd party model importing library called "ASSIMP" (Asset Import Library). Due to an open source licensing concern, ASSIMP is not included in this GitHub repository. You will need to download ASSIMP and install it to the 3rdParty folder. The ModelConverter project file will look for ASSIMP in "../3rdParty/assimp-3.0" unless you change the additional include directories. You may need to rename some files/folders to make the Visual Studio project compile. It references ASSIMP as follows: 2 | 3 | * Include Path: ../3rdParty/assimp-3.0/include 4 | * Library Path: ../3rdParty/assimp-3.0/lib/release 5 | * Post-build: ../3rdParty/assimp-3.0/bin/release/assimp.dll 6 | 7 | You should also have "assimp.dll" in your path. We recommended copying this DLL to the ModelConverter folder. The most recent version of ASSIMP is 3.2, but we have only tested with 3.0. You are welcome to make the necessary (if any) changes to work with 3.2. Please notify us via pull request or forum post if you find some discrepencies. 8 | 9 | Regards, 10 | Team Minigraph -------------------------------------------------------------------------------- /MiniEngine/NuGet.Config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /MiniEngine/PropertySheets/Desktop.props: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | $(Console_SdkLibPath);$(LibraryPath) 7 | $(Console_SdkIncludeRoot);$(IncludePath) 8 | 9 | 10 | 11 | $(Console_Libs);%(AdditionalDependencies) 12 | 13 | 14 | __WRL_NO_DEFAULT_LIB__;%(PreprocessorDefinitions) 15 | 16 | 17 | _GAMING_DESKTOP=1 18 | 6.2 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /MiniEngine/Tools/SDFFontCreator/.gitignore: -------------------------------------------------------------------------------- 1 | /Debug 2 | /Release 3 | /*.bmp 4 | /*.fnt 5 | /*.ttf 6 | /x64 -------------------------------------------------------------------------------- /MiniEngine/Tools/SDFFontCreator/NuGet.Config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /MiniEngine/Tools/SDFFontCreator/SDFFontCreator_VS15.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 10 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 11 | 12 | 13 | 14 | 15 | Source Files 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /MiniEngine/Tools/SDFFontCreator/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /MiniEngine/Tools/Scripts/ProjectTemplates/LibTemplate.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {3e74f37f-1e1e-47ed-9c44-213389384278} 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /MiniEngine/Tools/Scripts/ProjectTemplates/Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/MiniEngine/Tools/Scripts/ProjectTemplates/Logo.png -------------------------------------------------------------------------------- /MiniEngine/Tools/Scripts/ProjectTemplates/Logo44.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/MiniEngine/Tools/Scripts/ProjectTemplates/Logo44.png -------------------------------------------------------------------------------- /MiniEngine/Tools/Scripts/ProjectTemplates/SmallLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/MiniEngine/Tools/Scripts/ProjectTemplates/SmallLogo.png -------------------------------------------------------------------------------- /MiniEngine/Tools/Scripts/ProjectTemplates/SplashScreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/MiniEngine/Tools/Scripts/ProjectTemplates/SplashScreen.png -------------------------------------------------------------------------------- /MiniEngine/Tools/Scripts/ProjectTemplates/StoreLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/MiniEngine/Tools/Scripts/ProjectTemplates/StoreLogo.png -------------------------------------------------------------------------------- /MiniEngine/Tools/Scripts/ProjectTemplates/WideLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GameTechDev/XeSS-VALAR-Demo/18e3729968259498ddfe3d546c1b05761dbc8e4f/MiniEngine/Tools/Scripts/ProjectTemplates/WideLogo.png -------------------------------------------------------------------------------- /MiniEngine/Tools/Scripts/ProjectTemplates/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /MiniEngine/Tools/Scripts/ProjectTemplates/pch.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // pch.cpp 3 | // Include the standard header and generate the precompiled header. 4 | // 5 | 6 | #include "pch.h" 7 | -------------------------------------------------------------------------------- /MiniEngine/Tools/Scripts/TargaToDDS.py: -------------------------------------------------------------------------------- 1 | def CompileTGA( filename, normalMap=False ): 2 | import subprocess 3 | 4 | args = 'texconv.exe ' + filename + ' -nologo -vflip' 5 | if normalMap: 6 | args += ' -f BC1_UNORM' 7 | else: 8 | args += ' -srgbi -f BC1_UNORM_SRGB' 9 | 10 | print('Calling "{0}"'.format(args)) 11 | subprocess.call(args.split()) 12 | 13 | if __name__ == "__main__": 14 | import os 15 | files = os.listdir() 16 | for file in files: 17 | if file.lower().endswith('.tga'): 18 | CompileTGA(file, file.find('normal') != -1) 19 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # XeSS-VALAR-Demo 2 | Mini-Engine Demonstration of Combining XeSS with VRS Tier 2. 3 | 4 | # To build 5 | Open a 'Developer Command Prompt for VS 2022' command window and type the following to build the project: 6 | ``` 7 | git submodule update --init --recursive 8 | cmake -S . -B build 9 | cmake --build build --config Release 10 | ``` 11 | 12 | # To run 13 | In the same 'Developer Command Prompt for VS 2022', type the following to run the project 14 | ``` 15 | start build\release\ 16 | ``` 17 | 18 | and then double click 'xess_demo.exe' 19 | 20 | MIT License 21 | Copyright Intel(R) 2023-2025 22 | -------------------------------------------------------------------------------- /Source/XeSSDemo.manifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /Source/pch.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // pch.cpp 3 | // Include the standard header and generate the precompiled header. 4 | // 5 | 6 | #include "pch.h" 7 | --------------------------------------------------------------------------------