Go to the documentation of this file.
28 #ifndef __D3D9Device_H__
29 #define __D3D9Device_H__
36 class D3D9RenderWindow;
37 class D3D9DeviceManager;
56 IDirect3DDevice9* getD3D9Device ();
58 UINT getAdapterNumber ()
const;
59 D3DDEVTYPE getDeviceType ()
const;
60 bool isMultihead ()
const;
61 bool isAutoDepthStencil ()
const;
62 bool isFullScreen ()
const;
64 const D3DCAPS9& getD3D9DeviceCaps ()
const;
65 D3DFORMAT getBackBufferFormat ()
const;
75 uint getRenderWindowCount ()
const;
81 void clearDeviceStreams ();
130 void updatePresentationParameters ();
131 void updateRenderWindowsIndices ();
133 void createD3D9Device ();
134 void releaseD3D9Device ();
137 void setupDeviceStates ();
138 void notifyDeviceLost ();
140 void validateFocusWindow ();
146 void setSharedWindowHandle (HWND hSharedHWND);
uint adapterOrdinalInGroupIndex
High level interface of Direct3D9 Device.
IDirect3DSurface9 * depthBuffer
IDirect3DSwapChain9 * swapChain
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
uint getLastPresentFrame() const
IDirect3DDevice9 * mDevice
D3DDEVICE_CREATION_PARAMETERS mCreationParams
Device manager interface.
D3DPRESENT_PARAMETERS presentParameters
UINT mPresentationParamsCount
uint presentParametersIndex
IDirect3DSurface9 * backBuffer
bool mD3D9DeviceCapsValid
RenderWindowToResourcesMap mMapRenderWindowToResources
RenderWindowToResourcesMap::iterator RenderWindowToResourcesIterator
A primitive describing a volume (3D), image (2D) or line (1D) of pixels in memory.
D3DPRESENT_PARAMETERS * mPresentationParams
map< D3D9RenderWindow *, RenderWindowResources * >::type RenderWindowToResourcesMap
static HWND msSharedFocusWindow
Implementation of DirectX9 as a rendering system.
D3D9DeviceManager * mDeviceManager
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Tue Apr 13 2021 08:53:15