戻る

lib.directx
クラス DirectXManager

java.lang.Object
  |
  +--lib.directx.DirectXManager

public class DirectXManager
extends java.lang.Object

DirectDraw, Direct3D の初期化を補助するクラスです。

導入されたバージョン:
1999/12/24

コンストラクタの概要
DirectXManager(lib.directx.HWND window)
           
 
メソッドの概要
 void changeDisplayMode(int width, int height, boolean fullscreen)
           
 lib.directx.IDirectDrawClipper createClipper()
           
 lib.directx.IDirectDrawPalette createPalette(lib.directx.DWORD flags, lib.directx.PALETTEENTRY entry)
           
 lib.directx.IDirectDrawSurface7 createSurface(lib.directx.DDSURFACEDESC2 desc)
           
 lib.directx.HRESULT D3DEnumDevicesCallback(lib.directx.LPSTR deviceDescription, lib.directx.LPSTR deviceName, lib.directx.D3DDEVICEDESC7 desc, lib.directx.VOID[] userData)
           
 lib.directx.HRESULT D3DEnumPixelFormatsCallback(lib.directx.DDPIXELFORMAT pixelFormat, lib.directx.VOID userData)
           
 void finalize()
           
 lib.directx.IDirect3DDevice7 get3DDevice()
           
 lib.directx.IDirectDrawSurface7 getBackBuffer()
           
 lib.directx.IDirect3D7 getDirect3D()
           
 lib.directx.IDirectDraw7 getDirectDraw()
           
 lib.directx.IDirectDrawSurface7 getPrimarySurface()
           
 void init2D(int width, int height, boolean fullscreen)
           
 void init2D(int width, int height, int bpp, boolean fullscreen)
           
 void init3D(int width, int height, boolean fullscreen)
           
 void init3D(int width, int height, int bpp, boolean fullscreen)
           
 void initD3D(int width, int height, boolean fullscreen)
           
 void initDDraw(int width, int height, int bpp, boolean fullscreen)
           
 boolean isFullscreen()
           
 boolean isHAL()
           
 void release()
           
 void releaseD3D()
           
 void releaseDDraw()
           
 void restore()
           
 
クラス java.lang.Object から継承したメソッド
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

DirectXManager

public DirectXManager(lib.directx.HWND window)
メソッドの詳細

init2D

public void init2D(int width,
                   int height,
                   boolean fullscreen)

init3D

public void init3D(int width,
                   int height,
                   boolean fullscreen)

init2D

public void init2D(int width,
                   int height,
                   int bpp,
                   boolean fullscreen)

init3D

public void init3D(int width,
                   int height,
                   int bpp,
                   boolean fullscreen)

initDDraw

public void initDDraw(int width,
                      int height,
                      int bpp,
                      boolean fullscreen)

initD3D

public void initD3D(int width,
                    int height,
                    boolean fullscreen)

D3DEnumDevicesCallback

public lib.directx.HRESULT D3DEnumDevicesCallback(lib.directx.LPSTR deviceDescription,
                                                  lib.directx.LPSTR deviceName,
                                                  lib.directx.D3DDEVICEDESC7 desc,
                                                  lib.directx.VOID[] userData)

D3DEnumPixelFormatsCallback

public lib.directx.HRESULT D3DEnumPixelFormatsCallback(lib.directx.DDPIXELFORMAT pixelFormat,
                                                       lib.directx.VOID userData)

getDirectDraw

public lib.directx.IDirectDraw7 getDirectDraw()

getPrimarySurface

public lib.directx.IDirectDrawSurface7 getPrimarySurface()

getBackBuffer

public lib.directx.IDirectDrawSurface7 getBackBuffer()

createSurface

public lib.directx.IDirectDrawSurface7 createSurface(lib.directx.DDSURFACEDESC2 desc)

createPalette

public lib.directx.IDirectDrawPalette createPalette(lib.directx.DWORD flags,
                                                    lib.directx.PALETTEENTRY entry)

createClipper

public lib.directx.IDirectDrawClipper createClipper()

getDirect3D

public lib.directx.IDirect3D7 getDirect3D()

get3DDevice

public lib.directx.IDirect3DDevice7 get3DDevice()

changeDisplayMode

public void changeDisplayMode(int width,
                              int height,
                              boolean fullscreen)

isFullscreen

public boolean isFullscreen()

isHAL

public boolean isHAL()

restore

public void restore()

release

public void release()

releaseDDraw

public void releaseDDraw()

releaseD3D

public void releaseD3D()

finalize

public void finalize()
オーバーライド:
クラス java.lang.Object 内の finalize

戻る