#pragma once #include #include // D3D11 device singleton — created once at addon load, reused across all captures (per D-17). bool InitializeD3D(); Microsoft::WRL::ComPtr GetD3DDevice(); Microsoft::WRL::ComPtr GetD3DContext(); bool IsD3DAvailable();