pub struct PosterizeGpu {
pub levels: [u32; 3],
pub dither: u32,
}Expand description
RP.2 — flat posterize config for the resolve pass uniform. levels[c] <= 1
leaves that channel untouched; dither is 0=none, 1=Bayer4×4,
2=blue-noise (IGN). Mirror of roxlap_render::PosterizeConfig.
Fields§
§levels: [u32; 3]§dither: u32Trait Implementations§
Source§impl Clone for PosterizeGpu
impl Clone for PosterizeGpu
Source§fn clone(&self) -> PosterizeGpu
fn clone(&self) -> PosterizeGpu
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PosterizeGpu
Auto Trait Implementations§
impl Freeze for PosterizeGpu
impl RefUnwindSafe for PosterizeGpu
impl Send for PosterizeGpu
impl Sync for PosterizeGpu
impl Unpin for PosterizeGpu
impl UnsafeUnpin for PosterizeGpu
impl UnwindSafe for PosterizeGpu
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