Enum vulkano::swapchain::SurfaceTransform [−][src]
#[repr(u32)] pub enum SurfaceTransform { Identity, Rotate90, Rotate180, Rotate270, HorizontalMirror, HorizontalMirrorRotate90, HorizontalMirrorRotate180, HorizontalMirrorRotate270, Inherit, }
Expand description
A transformation to apply to the image before showing it on the screen.
Variants
Don’t transform the image.
Rotate 90 degrees.
Rotate 180 degrees.
Rotate 270 degrees.
Mirror the image horizontally.
Mirror the image horizontally and rotate 90 degrees.
Mirror the image horizontally and rotate 180 degrees.
Mirror the image horizontally and rotate 270 degrees.
Let the operating system or driver implementation choose.
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for SurfaceTransform
impl Send for SurfaceTransform
impl Sync for SurfaceTransform
impl Unpin for SurfaceTransform
impl UnwindSafe for SurfaceTransform
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.