Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Spr::WXD3DDevice Class Reference

Direct3Dデバイス(ディスプレイアダプタに対応するデバイス).. More...

#include <WXD3D.h>

Inherits Spr::WXInterface< IDirect3DDevice9,&IID_IDirect3DDevice9 >.

Collaboration diagram for Spr::WXD3DDevice:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Public Attributes


Detailed Description

Direct3Dデバイス(ディスプレイアダプタに対応するデバイス)..

Definition at line 40 of file WXD3D.h.


Constructor & Destructor Documentation

Spr::WXD3DDevice::WXD3DDevice (   )  [inline]
 

コンストラクタ

Definition at line 54 of file WXD3D.h.


Member Function Documentation

bool Spr::WXD3DDevice::Create (  HWND  hw,
UINT  adapter = D3DADAPTER_DEFAULT,
D3DDEVTYPE  deviceType = D3DDEVTYPE_HAL,
DWORD  behaviorFlags = D3DCREATE_HARDWARE_VERTEXPROCESSING|D3DCREATE_FPU_PRESERVE
) 
 

デバイスの構築 hw の親をたどっていき,一番親のノードが見つかったら,それをフォーカスウィンドウとする. デバイスウィンドウが指定されていなければ,hwをデバイスウィンドウにする.

Vec2f Spr::WXD3DDevice::GetSurfaceSize (   ) 
 

サーフェースサイズの取得

Vec2f Spr::WXD3DDevice::GetViewportSize (   ) 
 

ビューポートのサイズの取得

bool Spr::WXD3DDevice::SetViewport (  Vec2f  sz,
Vec2f  pos = Vec2f(),
float  minZ = 0.0f,
float  maxZ = 1.0f
) 
 

ビューポートの変更.必要ならResizeを呼び出してサーフェースを大きくする.

bool Spr::WXD3DDevice::Resize (  Vec2f  size,
HWND  wnd = NULL
) 
 

描画先のサイズの変更.成功した場合,trueを返す.

bool Spr::WXD3DDevice::Clear (  DWORD  Count,
CONST D3DRECT *  pRects,
DWORD  Flags,
D3DCOLOR  Color,
float  Z,
DWORD  Stencil
) 
 

画面クリア

bool Spr::WXD3DDevice::Present (  CONST RECT *  pSourceRect = NULL,
CONST RECT *  pDestRect = NULL,
HWND  hDestWindowOverride = NULL,
CONST RGNDATA *  pDirtyRegion = NULL
) 
 

画面に表示

bool Spr::WXD3DDevice::IsFullscreen (   )  [inline]
 

フルスクリーンかどうか

Definition at line 83 of file WXD3D.h.

void Spr::WXD3DDevice::Fullscreen (   ) 
 

フルスクリーン化

void Spr::WXD3DDevice::Window (   ) 
 

ウィンドウ化

bool Spr::WXD3DDevice::CanDraw (   )  [inline]
 

描画できるかどうか

Definition at line 89 of file WXD3D.h.

void Spr::WXD3DDevice::BeginScene (   ) 
 

描画開始

void Spr::WXD3DDevice::EndScene (   ) 
 

描画終了


Member Data Documentation

WXD3DPresentParameters Spr::WXD3DDevice::presentParameters
 

表示先の指定

Definition at line 47 of file WXD3D.h.

HWND Spr::WXD3DDevice::hFocusWindow
 

フォーカスウィンドウ

Definition at line 49 of file WXD3D.h.

WBWindowMan Spr::WXD3DDevice::winMan
 

ウィンドウの情報

Definition at line 51 of file WXD3D.h.


The documentation for this class was generated from the following file:
Generated on Sun Apr 16 02:08:24 2006 for Springhead by  doxygen 1.4.1