Nikolay Sivov : d3d11: Add a helper to create DXGI resource objects.