1 #ifndef GDIRECTX11SURFACE_H 2 #define GDIRECTX11SURFACE_H 15 #include "../../Interface/G_Core/GListener.h" 17 #include "../../Interface/G_System/GWindow.h" 18 #include "GGraphicsDefines.h" 28 static const GUUIID GDirectX11SurfaceUUIID =
30 0xf787fd1f, 0x6218, 0x422a,{ 0xb3, 0x5a, 0x41, 0xb4, 0xb4, 0x8b, 0x75, 0xfc }
GATEWARE_EXPORT_IMPLICIT GReturn CreateGDirectX11Surface(SYSTEM::GWindow *_gWin, unsigned long long _initMask, GDirectX11Surface **_outSurface)
Creates and outputs a new GDirectX11Surface object.
virtual GReturn GetSwapchain(void **_outSwapchain)=0
Returns the address of the current IDXGISwapChain.
Gateware Universally Unique Interface IDentifier.
Definition: GDefines.h:25
virtual GReturn GetDepthStencilView(void **_outDepthStencilView)=0
Returns the address of the current ID3D11DepthStencilView.
virtual GReturn GetAspectRatio(float &_outRatio)=0
Returns the aspect ratio for the current window.
virtual GReturn GetContext(void **_outContext)=0
Returns the address of the current ID3D11DeviceContext.
A library used to initialize, create, and manage a DirectX11 rendering context.
Definition: GDirectX11Surface.h:40
GReturn
Listing of common error codes returned by Gateware functions.
Definition: GDefines.h:53
The core namespace to which all Gateware interfaces/structures/defines must belong.
Definition: GAudio.h:20
virtual GReturn GetDevice(void **_outDevice)=0
Returns the address of the current ID3D11Device.
A thread-safe window creation and management library.
Definition: GWindow.h:76
A GListener Interface may be registered with a GBroadcaster interface to receive event notifications...
Definition: GListener.h:35
virtual GReturn GetRenderTarget(void **_outRenderTarget)=0
Returns the address of the current ID3D11RenderTargetView.