light/Engine/src/Platform/GraphicsAPI/DirectX/dxSharedContext.h

19 lines
369 B
C
Raw Normal View History

2021-06-02 09:07:45 +04:30
#pragma once
#include "Base.h"
2021-06-02 17:20:15 +04:30
#include "dxBase.h"
2021-06-02 09:07:45 +04:30
#include <d3d11.h>
#include <wrl.h>
namespace Light {
struct dxSharedContext
{
Microsoft::WRL::ComPtr<ID3D11DeviceContext> deviceContext;
Microsoft::WRL::ComPtr<IDXGISwapChain> swapChain;
Microsoft::WRL::ComPtr<ID3D11RenderTargetView> renderTargetView;
2021-06-02 17:20:15 +04:30
Microsoft::WRL::ComPtr<ID3D11Device> device;
2021-06-02 09:07:45 +04:30
};
}