Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.29 KB

File metadata and controls

42 lines (27 loc) · 1.29 KB

DirectComposite Sample (DirectX 12)

This sample demonstrates how to implement DirectComposition alongside DirectX 12. DirectComposition allows you to efficiently composite your rendered scene onto other windows using hardware acceleration.

For more information, see:

DirectComposition allows efficient alpha-blending with other windows

Acknowledgements & Disclaimer

This sample is based on Microsoft's D3D12HelloTexture sample.

This sample is not endorsed or recognized by Microsoft as an official Microsoft sample. This work is my own and is unaffiliated with Microsoft.

Requirements

DirectComposition minimum requirements:

  • Windows 8 or above
  • Visual Studio 2013 or above
  • Direct3D 11, Direct2D or DirectX 12

However, this sample is written for:

  • Windows 10
  • Visual Studio 2015
  • DirectX 12

Usage

  • Open DirectCompositionSample.sln
  • Build & Run
  • Click on the circle to drag the window around
  • Press ESC to quit