Immediate Mode COM Interfaces

The Direct3D Immediate Mode API consists of the following COM interfaces:

IDirect3D2 Root interface, used to obtain other interfaces
IDirect3DDevice 3D Device for execute-buffer based programming
IDirect3DDevice2 3D Device for DrawPrimitive-based programming
IDirect3DTexture2 Texture-map interface
IDirect3DMaterial2 Surface-material interface
IDirect3DViewport2 Interface to define the screen space viewport's characteristics.
IDirect3DLight Interface used to work with lights
IDirect3DExecuteBuffer Interface for working with execute buffers

For backward compatibility with previous versions of DirectX, the following interfaces are also provided. For more information about backward compatibility, see Compatibility with DirectX 3.

IDirect3D
IDirect3DTexture
IDirect3DMaterial
IDirect3DViewport