|
Darc Library
2012.11
|
#include <direct3D.h>
Public Member Functions | |
| PX_Direct3D () | |
| ~PX_Direct3D () | |
| DC_VALUE | initDirect3D (PX_Direct3DConfiguration *_p, char *_title, HICON _hIcon) |
| IDirect3DDevice9 * | getDevice () |
| DC_VALUE | destroy () |
| HWND | getWindowHandle () |
Direct3D instance.
| darc::protox::PX_Direct3D::PX_Direct3D | ( | ) | [inline] |
Default Constructor.
| darc::protox::PX_Direct3D::~PX_Direct3D | ( | ) | [inline] |
Destructor. Calls destroy().
| DC_VALUE darc::protox::PX_Direct3D::destroy | ( | ) |
Releases all used handles and Direct3D resources.
| IDirect3DDevice9* darc::protox::PX_Direct3D::getDevice | ( | ) |
Returns pointer to Direct3D this device.
Returns pointer to the xWindow object.
| DC_VALUE darc::protox::PX_Direct3D::initDirect3D | ( | PX_Direct3DConfiguration * | _p, |
| char * | _title, | ||
| HICON | _hIcon | ||
| ) |
Creates xD3DInstance object. Title and icon handle will be forwarded to the PX_Window object.
| _p | Parameter structure. |
| _title | Unique window title. |
| _hIcon | Icon handle. |