D3DXPLAYBACK_TYPE enumeration
Defines the type of animation set looping modes used for playback.
Syntax
typedef enum D3DXPLAYBACK_TYPE {
D3DXPLAY_LOOP = 0,
D3DXPLAY_ONCE = 1,
D3DXPLAY_PINGPONG = 2,
D3DXPLAY_FORCE_DWORD = 0x7fffffff
} D3DXPLAYBACK_TYPE, *LPD3DXPLAYBACK_TYPE;
Constants
-
D3DXPLAY_LOOP
-
The animation repeats endlessly.
-
D3DXPLAY_ONCE
-
The animation plays once, and then it stops on the last frame.
-
D3DXPLAY_PINGPONG
-
The animation alternates endlessly between playing forward and playing backward.
-
D3DXPLAY_FORCE_DWORD
-
Forces this enumeration to compile to 32 bits in size. Without this value, some compilers would allow this enumeration to compile to a size other than 32 bits. This value is not used.
Requirements
Requirement | Value |
---|---|
Header |
|
See also