Microsoft DirectX 9.0 |
The SetSwapInputs method specifies whether the transition inputs are swapped.
By default, a transition goes from the composite of all lower-priority layers to the layer where the transition resides. You can reverse this progression, so the transition goes from the layer where it resides back to the composite of lower-priority layers. For more information, see Transition Direction.
Syntax
HRESULT SetSwapInputs(
BOOL Val
);
Parameters
Val
Boolean value that specifies whether the inputs are swapped. If the value is FALSE, the transition goes from the composite of all lower-priority layers to the transition layer. If the value is TRUE, the transition goes in the opposite direction.
Return Value
Returns S_OK.
Remarks
This method does not change the direction of the visual effect. For example, a left-to-right wipe will still go from left to right. To change the direction, set the Progress property using the IPropertySetter interface.
Requirements
Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.
Library: Use strmiids.lib.
See Also