Unit direct3d

Classes

TD3D -

Functions

EnumDevCallBack -
EnumTextureFormatsCallback -

Types

ENUMDEVINFO
T3dTextureFormat

Constants

Variables

DDResult
NumtextureFormats
TextureFormat


Functions


function EnumDevCallBack ( lpGuid: PGUID ; lpDeviceDescription: LPSTR ; lpDeviceName: LPSTR ; const lpD3DHWDeviceDesc: D3DDEVICEDESC ; const lpD3DHELDeviceDesc: D3DDEVICEDESC ; lpUserArg: Pointer ): HRESULT ;


function EnumTextureFormatsCallback( const lpDdsd: DDSURFACEDESC ; lpUserArg: Pointer ): HRESULT ;


Types


ENUMDEVINFO = record
cm : D3DCOLORMODEL;
pHWGuid : PGUID ;
HWDesc : D3DDEVICEDESC;
pSWGuid : PGUID;
SWDesc : D3DDEVICEDESC;
end;
Direct3D Immediate mode test by Massimo Bardetti - bigben@dircon.co.uk. Delphi Wrapper for Direct3d Device
T3dTextureFormat = record
ddsd : DDSURFACEDESC;
bPalettized : Boolean;
redBPP : integer;
greenBPP : integer;
blueBPP : integer;
indexBPP : integer;
end;

Constants


Variables

DDResult : HRESULT

NumtextureFormats : Integer

TextureFormat : array [0..50] of T3dTextureFormat