Darc Library  2012.11
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
darc::protox::PX_Direct3D Class Reference

#include <direct3D.h>

List of all members.

Public Member Functions

 PX_Direct3D ()
 ~PX_Direct3D ()
DC_VALUE initDirect3D (PX_Direct3DConfiguration *_p, char *_title, HICON _hIcon)
IDirect3DDevice9 * getDevice ()
DC_VALUE destroy ()
HWND getWindowHandle ()

Detailed Description

Direct3D instance.


Constructor & Destructor Documentation

darc::protox::PX_Direct3D::PX_Direct3D ( ) [inline]

Default Constructor.

Destructor. Calls destroy().


Member Function Documentation

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.

Parameters:
_pParameter structure.
_titleUnique window title.
_hIconIcon handle.
Returns:
DC_OK on success, DC_ERROR if the configuration was invalid. See PROTOX debug log.

The documentation for this class was generated from the following files: