3.3.5.3.13 MILCMD_VISUAL SETCONEXTUALIZEDOPACITY
This message enables or disables contextualized opacity according to the value of the ContextualizedOpacity message field. When the ContextualizedOpacity field is set to TRUE, the server MUST decide the opacity of the visual by using the following algorithm:
If the render target requires cursors—that is, if the meta bitmap render target has IncludeCursors set to 0x1 using the MILCMD_METABITMAPRENDERTARGET_CAPTUREBITS message:
If the visual has been activated in a capture render pass by using MILCMD_VISUAL_SETRENDERFORCAPTURE, the ContextualizedOpacityMultiplier rendering parameter (section 2.2.3.17) for the specified visual will be used to derive the effective opacity of the visual.
If the visual has not been activated in a capture render pass, its opacity will be determined by the original opacity of the node (set using the MILCMD_VISUAL_SETALPHA message) as follows:
If the opacity was originally set to zero, the opacity MUST be set to 1.0. (The visual MUST be made fully opaque.)
If the opacity was originally set to a nonzero value, the original opacity value will be preserved.
If the render target does not require cursors, the ContextualizedOpacityMultiplier rendering parameter of the specified visual MUST be used to derive the effective opacity of the node. This is the default case.