Microsoft DirectX 8.1 (C++) |
The MP_ENVELOPE_SEGMENT structure defines an envelope segment used by an envelope-following parameter.
Syntax
typedef struct _MP_ENVELOPE_SEGMENT {
REFERENCE_TIME rtStart;
REFERENCE_TIME rtEnd;
MP_DATA valStart;
MP_DATA valEnd;
MP_CURVE_TYPE iCurve;
MP_FLAGS flags;
} MP_ENVELOPE_SEGMENT;
Members
rtStart
Start time of the segment, relative to the time stamp on the first buffer, in 100-nanosecond units.
rtEnd
Stop time of the segment, relative to the time stamp on the first buffer, in 100-nanosecond units.
valStart
Initial value of the parameter, at the start of the segment.
valEnd
Final value of the parameter, at the end of the segment.
iCurve
Member of the MP_CURVE_TYPE enumerated type that specifies the curve followed by the parameter.
flags
Bitwise combination of Envelope Flags.
See Also