Microsoft DirectX 8.1 (Visual Basic) |
Retrieves a render-state value for a device.
object.GetRenderState( _ State As CONST_D3DRENDERSTATETYPE) As Long
A variable that receives the value of the queried render state variable when the method returns.
If the method fails, an error is raised and Err.Number may be set to D3DERR_INVALIDCALL if one of the parameters is invalid.
For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.