pub enum SurfaceTransform {
Identity,
Rotate90,
Rotate180,
Rotate270,
HorizontalMirror,
HorizontalMirrorRotate90,
HorizontalMirrorRotate180,
HorizontalMirrorRotate270,
Inherit,
}
Expand description
List of the hardware display transformations
Variants§
Identity
Specify that image content is presented without being transformed.
Rotate90
Specify that image content is rotated 90 degrees clockwise.
Rotate180
Specify that image content is rotated 180 degrees clockwise.
Rotate270
Specify that image content is rotated 270 degrees clockwise.
HorizontalMirror
Specify that image content is mirrored horizontally.
HorizontalMirrorRotate90
Specify that image content is mirrored horizontally, then rotated 90 degrees clockwise.
HorizontalMirrorRotate180
Specify that image content is mirrored horizontally, then rotated 180 degrees clockwise.
HorizontalMirrorRotate270
Specify that image content is mirrored horizontally, then rotated 270 degrees clockwise.
Inherit
Specify that the presentation transform is not specified, and is instead determined by platform-specific considerations and mechanisms outside Vulkan.