#pragma once #include "Base.h" #include "Graphics/SharedContext.h" #include #include namespace Light { // #todo: class dxSharedContext : public SharedContext { public: dxSharedContext(Microsoft::WRL::ComPtr _device, Microsoft::WRL::ComPtr _deviceContext, Microsoft::WRL::ComPtr _swapChain, Microsoft::WRL::ComPtr _renderTargetView) : device(_device), deviceContext(_deviceContext), swapChain(_swapChain), renderTargetView(_renderTargetView) { } Microsoft::WRL::ComPtr device; Microsoft::WRL::ComPtr deviceContext; Microsoft::WRL::ComPtr swapChain; Microsoft::WRL::ComPtr renderTargetView; }; }