pub struct PoolGates {
pub ssao: bool,
pub bloom: bool,
pub gbuffer: bool,
}Expand description
The feature gates a backend’s transient pool is built for, i.e. the ones it
is rebuilt on. Everything else planning_inputs forces live.
Fields§
§ssao: boolSSAO is built, so ao_output exists.
bloom: boolThe bloom chain’s top octave is managed. Metal and DirectX pass true
unconditionally: they toggle bloom per frame off the post-process
intensity while the composite binds mip 0 either way, so a pool built at
init / resize cannot gate on it. Vulkan rebuilds on the flag and passes
the real value.
gbuffer: boolThe unified G-buffer pre-pass is built, so its colour channels exist.
Trait Implementations§
impl Copy for PoolGates
impl Eq for PoolGates
impl StructuralPartialEq for PoolGates
Auto Trait Implementations§
impl Freeze for PoolGates
impl RefUnwindSafe for PoolGates
impl Send for PoolGates
impl Sync for PoolGates
impl Unpin for PoolGates
impl UnsafeUnpin for PoolGates
impl UnwindSafe for PoolGates
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.