Direct3D Mini Reference


Covers: Direct3D
This is not exactly a tutorial but its very useful.

First i gonna make some aclarations, i call D3D to Direct3D Class, D3DD to Direct3DDevice7, DX to DirectX7 and DDraw to DirectDraw7, now we can continue:

Class Initialization Table

Class Code
DirectX Dim DX as New DirectX7
DirectDraw Set DDraw = DX.DirectDrawCreate("")
Direct3D Set D3D = DDraw.GetDirect3D()
Direct3DDevice7 Set D3DD = CreateDevice(GUID, BackBuffer as DirectDrawSurface7)

Direct3DDevice GUIDS

Device Guid Decription
T&L HAL IID_IDirect3DTnLHALDevice Uses the Hardware Acceleration (3D Card) and Enables In Hardware Transformations And Lightings.
HAL Only IID_IDirect3DHALDevice Enables the Hardware (3D Card) Acceleration.
MMX IID_IDirect3DMMXDevice Used CPU Emultion and Enables MMX Alpha Blending Acceleration (From Intel)
CPU Emulation IID_IDirect3DRGBDevice Uses CPU Emulation in RGB Mode (More Slow than HAL).
Default "" Uses the Default Device.
Hosted by www.Geocities.ws

1