Ramp Device

Note  The ramp software emulation driver is obsolete, and not supported by interfaces added in DirectX 6.0 and later. You cannot create a Direct3D ramp device by using the IDirect3D3 interface, nor can you query an existing ramp device for the IDirect3DDevice3 interface. In short, ramp devices do not support any multiple texture blending options. For emulation of these features use the MMX or RGB software emulation devices.

A ramp device is a software-emulated device that provides monochrome lighting. Applications can select it when the user's computer does not have sufficient processing power to support any other types of Direct3D devices. For details, see Emulation Modes.

Ramp devices are provided primarily for backward compatibility with legacy applications. In general, computers that do not have sufficient processing power to support RGB devices are not suited to 3-D applications.

An application creates a ramp device by invoking the IDirect3D2::CreateDevice method and passing the value IID_IDirect3DRampDevice as the first parameter. For additional information on creating Direct3D devices, see Creating a Direct3D Device.