DirectX SDK |
The Direct3DDevice7.GetRenderState method gets a render-state value for a device.
object.GetRenderState( _ state As CONST_D3DRENDERSTATETYPE) As Long
If the method succeeds, the return value is the current value of the specified render state.
If the method fails, an error is raised and Err.Number may be set to DDERR_INVALIDPARAMS if one of the parameters is invalid.