|Microsoft DirectX 9.0|
The EffectSwapPriorities method switches the priority levels of two effects.
Given two priority values, this method swaps the effects at those priorities. When the method returns, the effect that was at the first priority level is at the second priority level, and vice versa.
object.EffectSwapPriorities( PriorityA As Long, PriorityB As Long )
First priority level at which to swap effects.
Second priority level at which to swap effects.
If the method fails, an error is raised, and Err.Number can be set the following value: