Class TDXRMachine (unit DXRender)

Inherits from

TObject

Constructors


constructor Create;

TDXRMachine


Functions

procedure Compile(Tree: PDXRMachine_Tree);


function CreateTree: PDXRMachine_Tree;


function CreateTree2(Typ: TDXRMachine_TreeType): PDXRMachine_Tree;


function CreateTree_Blend(Blend: TDXR_Blend): PDXRMachine_Tree;


function CreateTree_LoadColor(Color: DWORD): PDXRMachine_Tree;


function CreateTree_LoadTexel(Texture: DWORD): PDXRMachine_Tree;


destructor Destroy;


procedure Initialize;


procedure Run(Count: Integer);

----------- Initialize -----------

procedure GenerateCode(var Code: Pointer; Tree: PDXRMachine_Tree);

Byte to QWORD convert table Result := (n shl 56)+(n shl 48)+(n shl 32)+(n shl 24)+(n shl 16)+(n shl 8)+n

Properties

property Compiled : Boolean


Events

Variables

Axis : TDXRMachine_Reg_Axis;


ColorIndex : array[0..7] of Integer;


ColorIndexCount : Integer;


Colors : array[0..7] of TDXRMachine_Reg_Color;


Dest : PDXR_Surface;


DitherEnable : Boolean;


RHW : TDXRMachine_Reg_RHW;


TextureIndex : array[0..7] of Integer;


TextureIndexCount : Integer;


Textures : array[0..7] of TDXRMachine_Reg_Texture;


ZBuffer : TDXRMachine_Reg_ZBuffer;


FBuf : Pointer;


FCall : Pointer;


FCompiled : Boolean;


FMMXCompiled : Boolean;


FStack : array[0..7] of TDXRMachine_Color;


FTreeCount : Integer;


FTreeList : array[0..127] of TDXRMachine_Tree;


F_BiLinearAxis : TDXRMachine_Axis;


F_BiLinearCol1 : TDXRMachine_Color;


F_BiLinearCol2 : TDXRMachine_Color;


F_BiLinearCol3 : TDXRMachine_Color;


F_BiLinearCol4 : TDXRMachine_Color;


F_ZBuf : Pointer;



Constructors


constructor Create;

TDXRMachine


Functions


procedure Compile(Tree: PDXRMachine_Tree);


function CreateTree: PDXRMachine_Tree;


function CreateTree2(Typ: TDXRMachine_TreeType): PDXRMachine_Tree;


function CreateTree_Blend(Blend: TDXR_Blend): PDXRMachine_Tree;


function CreateTree_LoadColor(Color: DWORD): PDXRMachine_Tree;


function CreateTree_LoadTexel(Texture: DWORD): PDXRMachine_Tree;


destructor Destroy;


procedure Initialize;


procedure Run(Count: Integer);

----------- Initialize -----------


procedure GenerateCode(var Code: Pointer; Tree: PDXRMachine_Tree);

Byte to QWORD convert table Result := (n shl 56)+(n shl 48)+(n shl 32)+(n shl 24)+(n shl 16)+(n shl 8)+n


Properties


property Compiled : Boolean


Events


Variables


Axis : TDXRMachine_Reg_Axis;


ColorIndex : array[0..7] of Integer;


ColorIndexCount : Integer;


Colors : array[0..7] of TDXRMachine_Reg_Color;


Dest : PDXR_Surface;


DitherEnable : Boolean;


RHW : TDXRMachine_Reg_RHW;


TextureIndex : array[0..7] of Integer;


TextureIndexCount : Integer;


Textures : array[0..7] of TDXRMachine_Reg_Texture;


ZBuffer : TDXRMachine_Reg_ZBuffer;


FBuf : Pointer;


FCall : Pointer;


FCompiled : Boolean;


FMMXCompiled : Boolean;


FStack : array[0..7] of TDXRMachine_Color;


FTreeCount : Integer;


FTreeList : array[0..127] of TDXRMachine_Tree;


F_BiLinearAxis : TDXRMachine_Axis;


F_BiLinearCol1 : TDXRMachine_Color;


F_BiLinearCol2 : TDXRMachine_Color;


F_BiLinearCol3 : TDXRMachine_Color;


F_BiLinearCol4 : TDXRMachine_Color;


F_ZBuf : Pointer;