Releases: microsoft/DirectXTK12
September 30, 2020
- GamePad class updated with
c_MostRecent
constant for-1
player index special behavior- For GameInput API implementation, also added
c_MergedInput
- For GameInput API implementation, also added
- Fixed bug in WICTextureLoader that resulted in
WINCODEC_ERR_INSUFFICIENTBUFFER
for some resize requests - Fixed
.wav
file reading of MIDILoop chunk - Minor code cleanup
This version is also available on NuGet as version 2020.9.30
August 15, 2020
- breaking change Converted default bool parameters on some effects to
EffectFlags
:- Added new effects flags
Specular
,Emissive
,Fresnel
, andVelocity
- Removed EnvironmentMapEffect
fresnelEnabled
,specularEnabled
parameters - Removed NormalMapEffect
specularMap
parameter - Removed PBREffect
emissive
,generateVelocity
parameters - Removed SkinnedEffect
weightsPerVertex
parameter (always uses 4 bones)
- Added new effects flags
- EnvironmentMapEffect now supports cubemaps, spherical, and dual-parabola environment maps
- Fixed bug with ScreenGrab with 'small alignment' textures
- Code review and project updates
- Added GDK projects
This version is also available on NuGet as version 2020.8.15
July 2, 2020
- Improved SpriteFont drawing performance in Debug builds
- Regenerated shaders using Windows 10 May 2020 Update SDK (19041)
- Code cleanup for some new VC++ 16.7 warnings and static code analysis
- CMake updates
This version is also available on NuGet as version 2020.7.2
June 15, 2020
- DescriptorHeap / DescriptorPile updated with additional ctor
- EffectTextureFactory ctor parameter updated with default value
- Code cleanup for some new VC++ 16.7 warnings and static code analysis
This version is also available on NuGet as version 2020.6.15
June 1, 2020
- Added BufferHelpers header with functions CreateStaticBuffer and CreateTextureFromMemory
- Added IsPowerOf2 helper to DirectXHelpers
- SpriteBatch now supports providing a new heap-based sampler on calls to Begin
- Converted to typed enum bitmask flags (see this blog post for details on this potential breaking change)
AUDIO_ENGINE_FLAGS
,DDS_LOADER_FLAGS
,ModelLoaderFlags
,SOUND_EFFECT_INSTANCE_FLAGS
, andWIC_LOADER_FLAGS
- WICTextureLoader for
PNG
codec now checksgAMA
chunk to determine colorspace if thesRGB
chunk is not found for legacy sRGB detection. WIC_LOADER_SRGB_DEFAULT
flag added when loading image via WIC without explicit colorspace metadata- CMake project updates
This version is also available on NuGet as version 2020.6.2
May 10, 2020
- ResourceUploadBatch updated to support usage with copy & compute queues
Transition
methods added for GeometricPrimtive and Model for use with static VBs/IBs- WICTextureLoader updated with new loader flags:
FORCE_RGBA32
,FIT_POW2
, andMAKE_SQUARE
- SimpleMath no longer forces use of d3d11.h or d3d12.h (can be used with d3d9.h for example)
- DirectX Tool Kit for Audio updated with SoundStreamInstance class for async I/O playback from XACT-style streaming wavebanks
- Code cleanup
- Updated D3DX12 internal copy to Windows 10 SDK (19041) version
This version is also available on NuGet as version 2020.5.11
April 3, 2020
- Updated D3DX12 internal copy to latest version
- SpriteFont
MeasureString
/MeasureDrawBounds
fixes for !ignoreWhitespace - Regenerated shaders using Windows 10 SDK (19041)
- Upgraded to use root signature 1.1 which requires Windows 10 (14393) or later
- Code review (
constexpr
/noexcept
usage) - CMake updated for PCH usage with 3.16 or later
February 24, 2020
- breaking change
Model::CreateFrom*
parameter order changed and addded ModelLoaderFlags - Added
ignoreWhitespace
defaulted parameter to SpriteFont Measure methods - Sync'd DirectX Tool Kit for Audio and GamePad with DX11 version
- Fixed encoding issue with Utilities.fxh
- Code and project cleanup
- Retired VS 2015 projects
This version is also available on NuGet as version 2020.2.24
- Windows desktop app using VS 2017 or VS 2019
- Universal Windows Platform apps using VS 2017 or VS 2019
Note that NuGet package id
directxtk12_desktop_2017
replaceddirectxtk12_desktop_2015
See this blog post for more information.
December 17, 2019
- Added ARM64 platform to VS 2019 Win32 desktop Win10 project
- Added Vector
operator/
by float scalar to SimpleMath - Added
GetStatistics
method to GraphicsMemory - Reduced fence object usage in GraphicsMemory's LinearAllocator
- Updated CMake project
- Code cleaup
This version is also available on NuGet as version 2019.12.17
- Windows desktop app using VS 2015 Update 3, VS 2017, or VS 2019
- Universal Windows Platform apps using VS 2017 or VS 2019
This is the last release I plan to support for VS 2015. See this issue for details and feedback.
October 17, 2019
- Added optional
forceSRGB
parameter to SaveWICTextureToFile - GamePad updated to report VID/PID (when supported)
- Minor code cleanup
This version is also available on NuGet as version 2019.10.17