Flips horizontally or vertically, or rotates by 90, 180 or 270 degrees, one or more images.
HRESULT FlipRotate(
const Image &srcImage,
DWORD flags,
ScratchImage &image
)
srcImage
Type: Image
[in] Pointer to one or more Image structures in a memory buffer.
flags
Type: DWORD
[in] One or more flags from the TEX_FR_FLAGS enumeration.
image
Type: ScratchImage
[out] Pointer to a ScratchImage class instance.
Type: HRESULT
Header: Declared in directxtex.h.