OGRE
2.2.4
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 | operator delete (void *ptr) |
void | operator delete (void *ptr, void *) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
void * | operator new (size_t sz, const char *file, int line, const char *func) |
operator new, with debug line info More... | |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *ptr) |
placement operator new More... | |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info More... | |
void * | operator new[] (size_t sz) |
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 | ( | ) |
bool Ogre::D3D9Device::acquire | ( | ) |
void Ogre::D3D9Device::attachRenderWindow | ( | D3D9RenderWindow * | renderWindow | ) |
void Ogre::D3D9Device::clearDeviceStreams | ( | ) |
void Ogre::D3D9Device::copyContentsToMemory | ( | D3D9RenderWindow * | window, |
const Box & | src, | ||
const PixelBox & | dst, | ||
RenderTarget::FrameBuffer | buffer | ||
) |
void Ogre::D3D9Device::destroy | ( | ) |
void Ogre::D3D9Device::detachRenderWindow | ( | D3D9RenderWindow * | renderWindow | ) |
UINT Ogre::D3D9Device::getAdapterNumber | ( | ) | const |
IDirect3DSurface9* Ogre::D3D9Device::getBackBuffer | ( | D3D9RenderWindow * | renderWindow | ) |
D3DFORMAT Ogre::D3D9Device::getBackBufferFormat | ( | ) | const |
IDirect3DDevice9* Ogre::D3D9Device::getD3D9Device | ( | ) |
const D3DCAPS9& Ogre::D3D9Device::getD3D9DeviceCaps | ( | ) | const |
IDirect3DSurface9* Ogre::D3D9Device::getDepthBuffer | ( | D3D9RenderWindow * | renderWindow | ) |
D3DDEVTYPE Ogre::D3D9Device::getDeviceType | ( | ) | const |
|
inline |
D3D9RenderWindow* Ogre::D3D9Device::getRenderWindow | ( | uint | index | ) |
uint Ogre::D3D9Device::getRenderWindowCount | ( | ) | const |
int Ogre::D3D9Device::getVBlankMissCount | ( | D3D9RenderWindow * | renderWindow | ) |
void Ogre::D3D9Device::invalidate | ( | D3D9RenderWindow * | renderWindow | ) |
bool Ogre::D3D9Device::isAutoDepthStencil | ( | ) | const |
bool Ogre::D3D9Device::isDeviceLost | ( | ) |
bool Ogre::D3D9Device::isFullScreen | ( | ) | const |
bool Ogre::D3D9Device::isMultihead | ( | ) | const |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
operator new, with debug line info
|
inlineinherited |
|
inlineinherited |
placement operator new
|
inlineinherited |
array operator new, with debug line info
|
inlineinherited |
void Ogre::D3D9Device::present | ( | D3D9RenderWindow * | renderWindow | ) |
void Ogre::D3D9Device::release | ( | ) |
void Ogre::D3D9Device::setAdapterOrdinalIndex | ( | D3D9RenderWindow * | renderWindow, |
uint | adapterOrdinalInGroupIndex | ||
) |
bool Ogre::D3D9Device::validate | ( | D3D9RenderWindow * | renderWindow | ) |
|
friend |
|
friend |