Class TCustomDX3D (unit DXDraws)

Inherits from

TComponent

Constructors


constructor Create(AOwner: TComponent);

TCustomDX3D


Functions

destructor Destroy;


procedure Render;

Make surface.

procedure SetSize(ASurfaceWidth, ASurfaceHeight: Integer);


procedure DoFinalize;


procedure DoInitialize;


procedure Notification(AComponent: TComponent; Operation: TOperation);


procedure DXDrawNotifyEvent(Sender: TCustomDXDraw; NotifyType: TDXDrawNotifyType);


procedure Finalize;


function GetCanDraw: Boolean;


function GetHardware: Boolean;


function GetSurfaceHeight: Integer;


function GetSurfaceWidth: Integer;


procedure Initialize;


procedure SetAutoSize(Value: Boolean);


procedure SetDXDraw(Value: TCustomDXDraw);


procedure SetOptions(Value: TDX3DOptions);


procedure SetSurfaceHeight(Value: Integer);


procedure SetSurfaceWidth(Value: Integer);


Properties

property AutoSize : Boolean


property Camera : IDirect3DRMFrame


property CanDraw : Boolean


property D3D : IDirect3D


property D3D2 : IDirect3D2


property D3DDevice : IDirect3DDevice


property D3DDevice2 : IDirect3DDevice2


property D3DRM : IDirect3DRM


property D3DRM2 : IDirect3DRM2


property D3DRMDevice : IDirect3DRMDevice


property D3DRMDevice2 : IDirect3DRMDevice2


property DXDraw : TCustomDXDraw


property Hardware : Boolean


property Initialized : Boolean


property NowOptions : TDX3DOptions


property Options : TDX3DOptions


property Scene : IDirect3DRMFrame


property Surface : TDirectDrawSurface


property SurfaceHeight : Integer


property SurfaceWidth : Integer


property Viewport : IDirect3DRMViewport


property ZBuffer : TDirectDrawSurface


Events

event OnFinalize : TNotifyEvent


event OnInitialize : TNotifyEvent


Variables

FAutoSize : Boolean;


FCamera : IDirect3DRMFrame;


FD3D : IDirect3D;


FD3D2 : IDirect3D2;


FD3DDevice : IDirect3DDevice;


FD3DDevice2 : IDirect3DDevice2;


FD3DDeviceDesc : D3DDEVICEDESC;


FD3DRM : IDirect3DRM;


FD3DRM2 : IDirect3DRM2;


FD3DRMDevice : IDirect3DRMDevice;


FD3DRMDevice2 : IDirect3DRMDevice2;


FDXDraw : TCustomDXDraw;


FHELDeviceDesc : D3DDEVICEDESC;


FHWDeviceDesc : D3DDEVICEDESC;


FInitFlag : Boolean;


FInitialized : Boolean;


FNowOptions : TDX3DOptions;


FOnFinalize : TNotifyEvent;


FOnInitialize : TNotifyEvent;


FOptions : TDX3DOptions;


FScene : IDirect3DRMFrame;


FSurface : TDirectDrawSurface;


FSurfaceHeight : Integer;


FSurfaceWidth : Integer;


FViewport : IDirect3DRMViewport;


FZBuffer : TDirectDrawSurface;



Constructors


constructor Create(AOwner: TComponent);

TCustomDX3D


Functions


destructor Destroy;


procedure Render;

Make surface.


procedure SetSize(ASurfaceWidth, ASurfaceHeight: Integer);


procedure DoFinalize;


procedure DoInitialize;


procedure Notification(AComponent: TComponent; Operation: TOperation);


procedure DXDrawNotifyEvent(Sender: TCustomDXDraw; NotifyType: TDXDrawNotifyType);


procedure Finalize;


function GetCanDraw: Boolean;


function GetHardware: Boolean;


function GetSurfaceHeight: Integer;


function GetSurfaceWidth: Integer;


procedure Initialize;


procedure SetAutoSize(Value: Boolean);


procedure SetDXDraw(Value: TCustomDXDraw);


procedure SetOptions(Value: TDX3DOptions);


procedure SetSurfaceHeight(Value: Integer);


procedure SetSurfaceWidth(Value: Integer);


Properties


property AutoSize : Boolean


property Camera : IDirect3DRMFrame


property CanDraw : Boolean


property D3D : IDirect3D


property D3D2 : IDirect3D2


property D3DDevice : IDirect3DDevice


property D3DDevice2 : IDirect3DDevice2


property D3DRM : IDirect3DRM


property D3DRM2 : IDirect3DRM2


property D3DRMDevice : IDirect3DRMDevice


property D3DRMDevice2 : IDirect3DRMDevice2


property DXDraw : TCustomDXDraw


property Hardware : Boolean


property Initialized : Boolean


property NowOptions : TDX3DOptions


property Options : TDX3DOptions


property Scene : IDirect3DRMFrame


property Surface : TDirectDrawSurface


property SurfaceHeight : Integer


property SurfaceWidth : Integer


property Viewport : IDirect3DRMViewport


property ZBuffer : TDirectDrawSurface


Events


event OnFinalize : TNotifyEvent


event OnInitialize : TNotifyEvent


Variables


FAutoSize : Boolean;


FCamera : IDirect3DRMFrame;


FD3D : IDirect3D;


FD3D2 : IDirect3D2;


FD3DDevice : IDirect3DDevice;


FD3DDevice2 : IDirect3DDevice2;


FD3DDeviceDesc : D3DDEVICEDESC;


FD3DRM : IDirect3DRM;


FD3DRM2 : IDirect3DRM2;


FD3DRMDevice : IDirect3DRMDevice;


FD3DRMDevice2 : IDirect3DRMDevice2;


FDXDraw : TCustomDXDraw;


FHELDeviceDesc : D3DDEVICEDESC;


FHWDeviceDesc : D3DDEVICEDESC;


FInitFlag : Boolean;


FInitialized : Boolean;


FNowOptions : TDX3DOptions;


FOnFinalize : TNotifyEvent;


FOnInitialize : TNotifyEvent;


FOptions : TDX3DOptions;


FScene : IDirect3DRMFrame;


FSurface : TDirectDrawSurface;


FSurfaceHeight : Integer;


FSurfaceWidth : Integer;


FViewport : IDirect3DRMViewport;


FZBuffer : TDirectDrawSurface;