directx-vs-templates icon indicating copy to clipboard operation
directx-vs-templates copied to clipboard

Provide new template for pre-initialized Direct2D/DirectWrite/WIC

Open sdcb opened this issue 9 years ago • 2 comments

Direct2d/DirectWrite/Windows Imaging Component in gaming is also very common, provide one template would be handy.

sdcb avatar Jan 30 '17 03:01 sdcb

These templates work well with DirectX Tool Kit which creates the WIC factory internally on-demand, so there's no need to explicitly create one in the template.

Direct2D/DirectWrite is a bit challenging to use in practice. For UWP DirectX 11 apps, it's already included in the standard DirectX Apps templates that come with VS. The Win32 game version of the template supports Windows 7 which may or may not have DirectX 11.1 (if you only have DirectX 11.0, interop with Direct2D/DirectWrite is quite complex). And for the DirectX 12 versions of the templates, interop with Direct2D/DirectWrite is again a bit complex. Finally, Direct2D/DirectWrite is not supported when using the Xbox One XDK platform.

walbourn avatar Jan 30 '17 22:01 walbourn

@walbourn provide standalone Direct2D/DirectWrite for desktop/DirectX 11.0 only is fine.

sdcb avatar Jan 31 '17 10:01 sdcb