2.2.8.15 MILCMD_PUSH_OPACITY_ANIMATE
The MILCMD_PUSH_OPACITY_ANIMATE packet instructs the compositor to push an opacity that will blend the composite of all drawing primitives added until the corresponding pop call, as described in section 3.1.1.7.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
messageSize |
|||||||||||||||||||||||||||||||
controlCode |
|||||||||||||||||||||||||||||||
opacity |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
hOpacityAnimations |
|||||||||||||||||||||||||||||||
reserved |
messageSize (4 bytes): A 32-bit unsigned integer. The size of this message in bytes. The value of this field MUST be set to 0x00000018.
controlCode (4 bytes): A 32-bit unsigned integer containing the control code for this message. The value of this field MUST be equal to 0x00000076.
opacity (8 bytes): A 64-bit floating-point number. The opacity with which to blend: 0 is transparent, 1 is opaque.
-
Value
Meaning
0x0000000000000000
Transparent opacity is used with blending.
0x0000000000000001
Drawing primitives are opaque.
hOpacityAnimations (4 bytes): A 32-bit unsigned integer. The value of this field MUST either be set to zero or set to a valid resource handle referencing a resource of type TYPE_DOUBLERESOURCE. If the value of this field is nonzero, the referenced resource animates the value of the Opacity property; otherwise, the property is not animated.
reserved (4 bytes): Reserved. MUST be set to zero when sent, and MUST be ignored when received.