


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. NoticesĪll content and source code for this package are subject to the terms of the MIT License.įor the latest version of DirectXTK, bug reports, etc. Contains YAML files for the build pipelines along with some miscellaneous build files and scripts.ĭocumentation is available on the GitHub wiki.Command line tool for building XACT-style wave banks for use with DirectXTK for Audio's WaveBank class.Command line tool used to generate binary resources for use with SpriteFont.DirectXTK for Audio source files and internal implementation headers.DirectXTK source files and internal implementation headers.XboxDDSTextureLoader.h - Xbox One 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.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 XInput,, or GameInput.Effects.h - set of built-in shaders for common rendering tasks.

