| Class TDirect3DTexture (unit DXDraws) |
TObject
TDirect3DTexture
| Constructors |
constructor Create(Graphic: TGraphic; DXDraw: TComponent);| Functions |
destructor Destroy;
procedure Restore;
procedure Clear;
procedure DXDrawNotifyEvent(Sender: TCustomDXDraw; NotifyType: TDXDrawNotifyType);
function GetHandle: D3DTEXTUREHANDLE;
function GetSurface: TDirectDrawSurface;
function GetTexture: IDirect3DTexture;
procedure SetTransparentColor(Value: TColor);| Properties |
property Handle : D3DTEXTUREHANDLE
property Surface : TDirectDrawSurface
property Texture : IDirect3DTexture
property TransparentColor : TColor| Events |
| Variables |
FBitCount : Integer;
FDXDraw : TComponent;
FEnumFormatFlag : Boolean;
FFormat : DDSURFACEDESC;
FGraphic : TGraphic;
FHandle : D3DTEXTUREHANDLE;
FPaletteEntries : TPaletteEntries;
FSurface : TDirectDrawSurface;
FTexture : IDirect3DTexture;
FTransparentColor : TColor;| Constructors |
constructor Create(Graphic: TGraphic; DXDraw: TComponent);TDirect3DTexture
| Functions |
destructor Destroy;The palette is acquired.
procedure Restore;
procedure Clear;
procedure DXDrawNotifyEvent(Sender: TCustomDXDraw; NotifyType: TDXDrawNotifyType);with FSurface.Canvas do begin StretchDraw(Temp.ClientRect, FGraphic); Release; end; } { Source surface is loaded into surface.
function GetHandle: D3DTEXTUREHANDLE;
function GetSurface: TDirectDrawSurface;
function GetTexture: IDirect3DTexture;
procedure SetTransparentColor(Value: TColor);| Properties |
property Handle : D3DTEXTUREHANDLE
property Surface : TDirectDrawSurface
property Texture : IDirect3DTexture
property TransparentColor : TColor| Events |
| Variables |
FBitCount : Integer;
FDXDraw : TComponent;
FEnumFormatFlag : Boolean;
FFormat : DDSURFACEDESC;
FGraphic : TGraphic;
FHandle : D3DTEXTUREHANDLE;
FPaletteEntries : TPaletteEntries;
FSurface : TDirectDrawSurface;
FTexture : IDirect3DTexture;
FTransparentColor : TColor;