#[non_exhaustive]pub enum PresentationEffect {
Illustration(IllustrationStyle),
DepthOfField(DepthOfField),
MotionBlur(MotionBlur),
Backdrop(BackdropStyle),
Lighting(LightingEnvironment),
Display(DisplayTransform),
Bloom(BloomStyle),
}Expand description
A typed presentation module that a render profile can layer.
The enum is non-exhaustive so new engine effects do not force downstream callers to match every future module.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Illustration(IllustrationStyle)
Molecular illustration applied after opaque lighting.
DepthOfField(DepthOfField)
Camera-space thin-lens depth of field after temporal resolution.
MotionBlur(MotionBlur)
Camera-shutter blur from the G-buffer’s true surface motion.
Backdrop(BackdropStyle)
Fallback colour outside represented scene content.
Lighting(LightingEnvironment)
Reflected, ambient, key and fill illumination, independent of backdrop.
Display(DisplayTransform)
Exposure and display grading, independent of scene content.
Bloom(BloomStyle)
Bright-pass highlight bleed applied before the display transform.
Trait Implementations§
Source§impl Clone for PresentationEffect
impl Clone for PresentationEffect
impl Copy for PresentationEffect
Source§impl Debug for PresentationEffect
impl Debug for PresentationEffect
Source§impl<'de> Deserialize<'de> for PresentationEffect
impl<'de> Deserialize<'de> for PresentationEffect
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PresentationEffect
impl PartialEq for PresentationEffect
Source§impl Serialize for PresentationEffect
impl Serialize for PresentationEffect
impl StructuralPartialEq for PresentationEffect
Auto Trait Implementations§
impl Freeze for PresentationEffect
impl RefUnwindSafe for PresentationEffect
impl Send for PresentationEffect
impl Sync for PresentationEffect
impl Unpin for PresentationEffect
impl UnsafeUnpin for PresentationEffect
impl UnwindSafe for PresentationEffect
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more