Microsoft DirectX 8.0 (C++) |
Registers a pluggable software device with Microsoft® Direct3D®.
HRESULT RegisterSoftwareDevice( void* pInitializeFunction );
If the method succeeds, the return value is D3D_OK.
If the method fails, the return value can be one of the following values.
D3DERR_INVALIDCALL |
D3DERR_OUTOFVIDEOMEMORY |
Software rasterization for Direct3D is provided by pluggable software devices, enabling applications to access a variety of software rasterizers through the Direct3D interfaces. Software devices are loaded by the application and registered with the Direct3D object, at which point a Direct3DDevice object can be created that will perform rendering with the software device.
Direct3D software devices communicate with Direct3D through an interface similar to the hardware device driver interface (DDI).
The Direct3D DDK provides the documentation and headers for developing pluggable software devices.
Header: Declared in D3d8.h.
Import Library: Use D3d8.lib.