Effects for Direct3D 11 (FX11) is a management runtime for authoring HLSL shaders, render state, and runtime variables together.
Перейти к файлу
dependabot[bot] 9793cb50b1
Bump github/codeql-action from 3.27.0 to 3.27.1 (#46)
2024-11-12 20:36:17 -08:00
.github Bump github/codeql-action from 3.27.0 to 3.27.1 (#46) 2024-11-12 20:36:17 -08:00
Binary Add ClangCl support for CMake (#14) 2022-05-23 00:45:06 -07:00
build Code review cmake (#45) 2024-11-11 14:23:17 -08:00
inc Minor code review (#29) 2024-08-15 10:14:52 -07:00
.editorconfig Added editorconfig 2018-05-09 18:31:42 -07:00
.gitattributes Added attributes 2016-08-18 18:01:18 -07:00
.gitignore Add CMake project 2021-02-07 18:03:56 -08:00
CHANGELOG.md August 14, 2024 (#28) 2024-08-14 22:32:04 -07:00
CMakeLists.txt August 14, 2024 (#28) 2024-08-14 22:32:04 -07:00
CMakePresets.json Code review cmake (#45) 2024-11-11 14:23:17 -08:00
CODE_OF_CONDUCT.md Update Code of Conduct and Security file (#21) 2024-05-14 21:12:15 -07:00
Effect.h Minor code review (#29) 2024-08-15 10:14:52 -07:00
EffectAPI.cpp Add ClangCl support for CMake (#14) 2022-05-23 00:45:06 -07:00
EffectLoad.cpp Fixed CodeQL warnings (#27) 2024-08-05 12:38:25 -07:00
EffectLoad.h Add ClangCl support for CMake (#14) 2022-05-23 00:45:06 -07:00
EffectNonRuntime.cpp Add SDL pipeline (#20) 2024-01-16 15:16:06 -08:00
EffectReflection.cpp Suppress some code warnings 2024-08-23 11:21:20 -07:00
EffectRuntime.cpp Add ClangCl support for CMake (#14) 2022-05-23 00:45:06 -07:00
EffectVariable.inl Minor code review (#29) 2024-08-15 10:14:52 -07:00
Effects11_2019_Win10.sln VS 2022 projects added 2022-05-22 12:31:39 -07:00
Effects11_2019_Win10.vcxproj Enable guard:ehcont compiler flag for MSVC 64 bit architectures 2022-08-17 13:05:32 -07:00
Effects11_2019_Win10.vcxproj.filters Added VS 2019 projects 2019-04-25 23:21:40 -07:00
Effects11_2022_Win10.sln VS 2022 projects added 2022-05-22 12:31:39 -07:00
Effects11_2022_Win10.vcxproj Enable guard:ehcont compiler flag for MSVC 64 bit architectures 2022-08-17 13:05:32 -07:00
Effects11_2022_Win10.vcxproj.filters VS 2022 projects added 2022-05-22 12:31:39 -07:00
Effects11_Windows10.sln ADO pipeline changes for OpenSSF Best Practices (#23) 2024-05-17 14:32:13 -07:00
Effects11_Windows10.vcxproj ADO pipeline changes for OpenSSF Best Practices (#23) 2024-05-17 14:32:13 -07:00
Effects11_Windows10.vcxproj.filters Organized projects into filters 2018-07-12 11:08:15 -07:00
IUnknownImp.h Add ClangCl support for CMake (#14) 2022-05-23 00:45:06 -07:00
LICENSE Update for latest files from the Microsoft GitHub template (#16) 2023-02-09 15:18:56 -08:00
README.md August 14, 2024 (#28) 2024-08-14 22:32:04 -07:00
SECURITY.md Update Code of Conduct and Security file (#21) 2024-05-14 21:12:15 -07:00
d3dxGlobal.cpp Add ClangCl support for CMake (#14) 2022-05-23 00:45:06 -07:00
pchfx.h Minor code review (#29) 2024-08-15 10:14:52 -07:00

README.md

DirectX Logo

Effects for Direct3D 11 (FX11)

http://go.microsoft.com/fwlink/?LinkId=271568

Copyright (c) Microsoft Corporation. All rights reserved.

August 14, 2024

Effects for Direct3D 11 (FX11) is a management runtime for authoring HLSL shaders, render state, and runtime variables together.

This code is designed to build with Visual Studio 2019 (16.11 or later) or Visual Studio 2022. Use of the Windows 10 May 2020 Update SDK (19041) or later is required.

These components are designed to work without requiring any content from the legacy DirectX SDK. For details, see Where is the DirectX SDK?.

This project is 'archived'. It is still available for use for legacy projects or when using older developer education materials, but use of it for new projects is not recommended.

Disclaimer

Effects 11 is being provided as a porting aid for older code that makes use of the Effects 10 (FX10) API or Effects 9 (FX9) API in the deprecated D3DX9 library. See Microsoft Docs for a list of differences compared to the Effects 10 (FX10) library.

The Effects 11 library is for use in Win32 desktop applications. FX11 requires the D3DCompiler API be available at runtime to provide shader reflection functionality, and this API is not deployable for Windows Store apps on Windows 8.0, Windows RT, or Windows phone 8.0.

The fx_5_0 profile support in the HLSL compiler is deprecated, and does not fully support DirectX 11.1 HLSL features such as minimum precision types. It is supported in the Windows 8.1 SDK version of the HLSL compiler (FXC.EXE) and D3DCompile API (46), is supported but generates a deprecation warning with D3DCompile API (47). The fx profiles are not supported by the DXIL (DXC.EXE) compiler.

Documentation

Documentation is available on the GitHub wiki.

Notices

All content and source code for this package are subject to the terms of the MIT License.

Release Notes

FOR SECURITY ADVISORIES, see GitHub.

For a full change history, see CHANGELOG.md.

  • The library can be built with Visual C++ or with clang/LLVM for Windows. The code is not conformant enough to support the GNUC (MinGW) compiler.

Support

For questions, consider using Stack Overflow with the d3dx tag.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

Credits

The Effects library for Direct3D 9 (FX9) was the work of Loren McQuade with contributions from Relja Markovic.

The Effects library for Direct3D 10 (FX10) was the work of John Rapp and Kutta Srinivasan as a rewrite of the FX9 library with contributions from Anuj Gosalia, Kev Gee, Sam Glassenberg, Relja Markovic, and Ian McIntyre.

The Effects library for Direct3D 11 (FX11) is the work of Ian McIntyre based on FX10 with contributions from Michael Oneppo and Chuck Walbourn.

Samples

  • Direct3D Tutorial 11-14
  • BasicHLSLFX11, DynamicShaderLinkageFX11, FixedFuncEMUFX11, InstancingFX11

These are hosted on GitHub