![]() ![]() Since the NuGet still builds using VS 2017, the build-in shaders in that version are currently Shader Model 5.1. In the June 2021 release or later, the VS 2019 projects of this library build the HLSL shaders with Shader Model 6 via DXC. In most use cases, however, there is no need to add explicit DX12 namespace resolution in client code. This provides a link-unique name such as DirectX::DX12::SpriteBatch that will appear in linker output messages. If you call it more than once per frame, then add an explicit call to EndOfInputFrame to use an explicit reset model instead.Īs of the September 2022 release, the library makes use of C++11 inline namespaces for differing types that have the same names in the DirectX 11 and DirectX 12 version of the DirectX Tool Kit. By default, each time you call GetState the deltas are reset which works for scenarios where you use relative movement but only call the method once per frame. Starting with the February 2023 release, the Mouse class implementation of relative mouse movement was updated to accumulate changes between calls to GetState. The library assumes it is building for Windows 10 (aka _WIN32_WINNT=0x0A00) so it makes use of XAudio 2.9 and WIC2 as well as DirectX 12.ĭirectX Tool Kit for Audio, GamePad, Keyboard, Mouse, and SimpleMath are identical to the DirectX 11 version. There are no expected DirectX 12 drivers for any lower feature level devices. VertexTypes does not include VertexPositionNormalTangentColorTexture or VertexPositionNormalTangentColorTextureSkinning which were intended for use with the DGSL pipeline.ĭirectX Tool Kit for DirectX 11 supports Feature Level 9.x, while DirectX 12 requires Direct3D Feature Level 11.0. CMO files are loaded using BasicEffect or SkinnedEffect materials. No support for Visual Studio Directed Graph Shader Language (DGSL) effect shaders (i.e. NoticesĪll content and source code for this package are subject to the terms of the MIT License.įor the latest version of DirectXTK12, bug reports, etc. MakeSpriteFont and XWBTool can be found in the DirectX Tool Kit for DirectX 11 Documentationĭocumentation is available on the GitHub wiki. Contains YAML files for the build pipelines along with some miscellaneous build files and scripts.DirectXTK for Audio source files and internal implementation headers. ![]() DirectXTK source files and internal implementation headers.XboxDDSTextureLoader.h - Xbox exclusive apps variant of DDSTextureLoader.WICTextureLoader.h - WIC-based image file texture loader.VertexTypes.h - structures for commonly used vertex data formats.SpriteFont.h - bitmap based text rendering.SpriteBatch.h - simple & efficient 2D sprite rendering.SimpleMath.h - simplified C++ wrapper for DirectXMath.ScreenGrab.h - light-weight screen shot saver.ResourceUploadBatch.h - helper for managing texture resource upload to the GPU.RenderTargetState.h - helper for communicating render target requirements when creating PSOs.PrimitiveBatch.h - simple and efficient way to draw user primitives.PostProcess.h - set of built-in shaders for common post-processing operations.Keyboard.h - keyboard state tracking helper.GraphicsMemory.h - helper for managing dynamic graphics memory allocation.GeometricPrimitive.h - draws basic shapes such as cubes and spheres.GamePad.h - gamepad controller helper using or GameInput.Effects.h - set of built-in shaders for common rendering tasks.EffectPipelineStateDescription.h - helper for creating PSOs.DirectXHelpers.h - misc C++ helpers for D3D programming.DescriptorHeap.h - helper for managing DX12 descriptor heaps.DDSTextureLoader.h - light-weight DDS file texture loader.CommonStates.h - common D3D state combinations.BufferHelpers.h - C++ helpers for creating D3D resources from CPU data.Audio.h - low-level audio API using XAudio2 (DirectXTK for Audio public header).Public Header Files (in the DirectX C++ namespace): For details, see Where is the DirectX SDK?. These components are designed to work without requiring any content from the legacy DirectX SDK. Use of the Windows Update SDK ( 19041) or later is required for Visual Studio. This code is designed to build with Visual Studio 2019 (16.11), Visual Studio 2022, clang for Windows v12 or later, or MinGW 12.2. This package contains the "DirectX Tool Kit", a collection of helper classes for writing Direct3D 12 C++ code for Universal Windows Platform (UWP) apps for Windows 11 and Windows 10, game titles for Xbox Series X|S and Xbox One, and Win32 desktop applications for Windows 11 and Windows 10. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |