#include <OgreD3D7Device.h>
Public Methods | |
| D3DDevice () | |
| D3DDevice (const D3DDevice &ob) | |
| D3DDevice (LPDIRECT3D7 lpDirect3D, LPSTR lpDeviceDesc, LPSTR lpDeviceName, LPD3DDEVICEDESC7 lpD3DDeviceDesc) | |
| ~D3DDevice () | |
| void | Cleanup (void) |
| void | logCaps (void) |
| LPDIRECT3DDEVICE7 | createDevice (LPDIRECTDRAWSURFACE7 renderTarget) |
| Creates a new per-rendering surface device. More... | |
| LPDIRECT3D7 | getID3D (void) |
| D3DDevice | operator= (const D3DDevice &orig) |
| String | DeviceName (void) |
| String | DeviceDescription (void) |
| bool | HardwareAccelerated (void) |
| bool | NeedsZBuffer (void) |
| void | createDepthBuffer (LPDIRECTDRAWSURFACE7 renderTarget) |
| void | setViewMatrix (D3DMATRIX *mat) |
| void | setProjectionMatrix (D3DMATRIX *mat) |
| void | setWorldMatrix (D3DMATRIX *mat) |
| void | beginScene (void) |
| void | endScene (void) |
| void | setAmbientLight (float r, float g, float b) |
| bool | CanMipMap (void) |
| bool | CanBilinearFilter (void) |
| bool | CanTrilinearFilter (void) |
| int | RenderBitDepth (void) |
| int | ZBufferBitDepth (void) |
| bool | CanHWTransformAndLight (void) |
| int | MaxSinglePassTextureLayers (void) |
| ushort | StencilBufferBitDepth (void) |
Private Methods | |
| void | createViewport (void) |
| void | setViewportSize (void) |
Private Attributes | |
| String | mDeviceName |
| String | mDeviceDescription |
| D3DDEVICEDESC7 | mD3DDeviceDesc |
| bool | mIsHardwareAccelerated |
| bool | mNeedsZBuffer |
| std::vector< DDPIXELFORMAT > | mDepthBufferFormats |
| ushort | mStencilBufferDepth |
| LPDIRECT3D7 | lpD3D |
| D3DVIEWPORT7 | mViewport |
| D3DRECT | rcViewportRect |
| DDDriver * | mParentDriver |
Friends | |
| HRESULT CALLBACK | EnumZBuffersCallback (DDPIXELFORMAT *pddpf, VOID *pFormats) |
Utility class for D3DRenderSystem.
|
|
|
|
|
|
|
||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Creates a new per-rendering surface device.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Copyright © 2002 by The OGRE Team