Minimal C++ project for offscreen image rendering using D3D11 and WIC.
As simple as it gets, this native C++ console app generates a PNG using API from Windows 8 SDK plus some cool Visual Studio 2013 features. There are no windows created, no WinAPI calls, only:
- Direct3D 11,
- Windows Imaging Components (WIC),
- integrated HLSL compiler,
- stl.
- Create D3D11 device and context.
- Create offscreen buffer.
- Load and set shaders.
- Draw a simple quad.
- Copy texture from render target.
- Create png encoder and stream.
- Save image buffer.