Microsoft DirectX 8.1 (Visual Basic) |
Registers a pluggable software device with Microsoft® Direct3D®.
object.RegisterSoftwareDevice( _ InitializeFunction As Any)
If the method fails, an error is raised and Err.Number can be set to one of the following values.
D3DERR_INVALIDCALL |
D3DERR_OUTOFVIDEOMEMORY |
For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.
The current interface for pluggable software rasterizers is a depreciated feature so do not use this method for any rasterizer (other than using it with the Microsoft® DirectX® reference rasterizer for testing).