18 #ifndef __H__OCULAR_D3D11_GRAPHICS_VIEWPORT__H__
19 #define __H__OCULAR_D3D11_GRAPHICS_VIEWPORT__H__
21 #include "Graphics/Viewport.hpp"
45 D3D11Viewport(ID3D11DeviceContext* context,
float x,
float y,
float width,
float height,
float minDepth = 0.0f,
float maxDepth = 1.0f);
48 virtual void bind()
override;
52 ID3D11DeviceContext* m_D3DDeviceContext;
53 D3D11_VIEWPORT m_D3DViewport;
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
Definition: Viewport.hpp:40
Definition: D3D11Viewport.hpp:41