DirectX SDK |
The Direct3DDevice7.GetRenderStateSingle method gets a render-state value for a device.
object.GetRenderStateSingle( _ state As CONST_D3DRENDERSTATESINGLE) As Single
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.
Direct3DDevice7.SetRenderState, Direct3DDevice7.SetRenderStateSingle