OGRE
1.10.12
Object-Oriented Graphics Rendering Engine
|
High level interface of Direct3D9 Device. More...
#include <OgreD3D9Device.h>
Public Member Functions | |
D3D9Device (D3D9DeviceManager *deviceManager, UINT adapterNumber, HMONITOR hMonitor, D3DDEVTYPE devType, DWORD behaviorFlags) | |
~D3D9Device () | |
bool | acquire () |
void | attachRenderWindow (D3D9RenderWindow *renderWindow) |
void | clearDeviceStreams () |
void | copyContentsToMemory (D3D9RenderWindow *window, const Box &src, const PixelBox &dst, RenderTarget::FrameBuffer buffer) |
void | destroy () |
void | detachRenderWindow (D3D9RenderWindow *renderWindow) |
UINT | getAdapterNumber () const |
IDirect3DSurface9 * | getBackBuffer (D3D9RenderWindow *renderWindow) |
D3DFORMAT | getBackBufferFormat () const |
IDirect3DDevice9 * | getD3D9Device () |
const D3DCAPS9 & | getD3D9DeviceCaps () const |
IDirect3DSurface9 * | getDepthBuffer (D3D9RenderWindow *renderWindow) |
D3DDEVTYPE | getDeviceType () const |
uint | getLastPresentFrame () const |
D3D9RenderWindow * | getRenderWindow (uint index) |
uint | getRenderWindowCount () const |
int | getVBlankMissCount (D3D9RenderWindow *renderWindow) |
void | invalidate (D3D9RenderWindow *renderWindow) |
bool | isAutoDepthStencil () const |
bool | isDeviceLost () |
bool | isFullScreen () const |
bool | isMultihead () const |
void | present (D3D9RenderWindow *renderWindow) |
void | release () |
void | setAdapterOrdinalIndex (D3D9RenderWindow *renderWindow, uint adapterOrdinalInGroupIndex) |
bool | validate (D3D9RenderWindow *renderWindow) |
Friends | |
class | D3D9DeviceManager |
class | D3D9RenderSystem |
High level interface of Direct3D9 Device.
Provide useful methods for device handling.
Ogre::D3D9Device::D3D9Device | ( | D3D9DeviceManager * | deviceManager, |
UINT | adapterNumber, | ||
HMONITOR | hMonitor, | ||
D3DDEVTYPE | devType, | ||
DWORD | behaviorFlags | ||
) |
Ogre::D3D9Device::~D3D9Device | ( | ) |
void Ogre::D3D9Device::attachRenderWindow | ( | D3D9RenderWindow * | renderWindow | ) |
void Ogre::D3D9Device::detachRenderWindow | ( | D3D9RenderWindow * | renderWindow | ) |
bool Ogre::D3D9Device::acquire | ( | ) |
void Ogre::D3D9Device::release | ( | ) |
void Ogre::D3D9Device::destroy | ( | ) |
bool Ogre::D3D9Device::isDeviceLost | ( | ) |
IDirect3DDevice9* Ogre::D3D9Device::getD3D9Device | ( | ) |
UINT Ogre::D3D9Device::getAdapterNumber | ( | ) | const |
D3DDEVTYPE Ogre::D3D9Device::getDeviceType | ( | ) | const |
bool Ogre::D3D9Device::isMultihead | ( | ) | const |
bool Ogre::D3D9Device::isAutoDepthStencil | ( | ) | const |
bool Ogre::D3D9Device::isFullScreen | ( | ) | const |
const D3DCAPS9& Ogre::D3D9Device::getD3D9DeviceCaps | ( | ) | const |
D3DFORMAT Ogre::D3D9Device::getBackBufferFormat | ( | ) | const |
bool Ogre::D3D9Device::validate | ( | D3D9RenderWindow * | renderWindow | ) |
void Ogre::D3D9Device::invalidate | ( | D3D9RenderWindow * | renderWindow | ) |
void Ogre::D3D9Device::present | ( | D3D9RenderWindow * | renderWindow | ) |
IDirect3DSurface9* Ogre::D3D9Device::getDepthBuffer | ( | D3D9RenderWindow * | renderWindow | ) |
IDirect3DSurface9* Ogre::D3D9Device::getBackBuffer | ( | D3D9RenderWindow * | renderWindow | ) |
uint Ogre::D3D9Device::getRenderWindowCount | ( | ) | const |
D3D9RenderWindow* Ogre::D3D9Device::getRenderWindow | ( | uint | index | ) |
|
inline |
void Ogre::D3D9Device::setAdapterOrdinalIndex | ( | D3D9RenderWindow * | renderWindow, |
uint | adapterOrdinalInGroupIndex | ||
) |
void Ogre::D3D9Device::copyContentsToMemory | ( | D3D9RenderWindow * | window, |
const Box & | src, | ||
const PixelBox & | dst, | ||
RenderTarget::FrameBuffer | buffer | ||
) |
void Ogre::D3D9Device::clearDeviceStreams | ( | ) |
int Ogre::D3D9Device::getVBlankMissCount | ( | D3D9RenderWindow * | renderWindow | ) |
|
friend |
|
friend |