pub struct BloomStyle {
pub threshold: f32,
pub intensity: f32,
pub radius: f32,
}Expand description
Bright-pass highlight bleed for cinematic presentation.
Fields§
§threshold: f32Scene-linear luminance above which light begins to bleed.
intensity: f32Contribution added back over the resolved frame, in [0, 1].
radius: f32Blur reach in quarter-resolution texels, in [0, 8].
Implementations§
Source§impl BloomStyle
impl BloomStyle
Trait Implementations§
Source§impl Clone for BloomStyle
impl Clone for BloomStyle
impl Copy for BloomStyle
Source§impl Debug for BloomStyle
impl Debug for BloomStyle
Source§impl<'de> Deserialize<'de> for BloomStyle
impl<'de> Deserialize<'de> for BloomStyle
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 BloomStyle
impl PartialEq for BloomStyle
Source§impl Serialize for BloomStyle
impl Serialize for BloomStyle
impl StructuralPartialEq for BloomStyle
Auto Trait Implementations§
impl Freeze for BloomStyle
impl RefUnwindSafe for BloomStyle
impl Send for BloomStyle
impl Sync for BloomStyle
impl Unpin for BloomStyle
impl UnsafeUnpin for BloomStyle
impl UnwindSafe for BloomStyle
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