pub struct PingPongKey {
pub size: [u32; 2],
pub levels: u32,
}Expand description
Keys a ping-pong scratch chain. levels is 1 for the separable Gaussian (no downsampling);
the field exists so the dual-Kawase path keys its mip depth without a new type.
Fields§
§size: [u32; 2]The level-0 (full) size of the chain, in physical pixels.
levels: u32The mip depth: 1 for the Gaussian, N for an N-level dual-Kawase pyramid.
Trait Implementations§
Source§impl Clone for PingPongKey
impl Clone for PingPongKey
Source§fn clone(&self) -> PingPongKey
fn clone(&self) -> PingPongKey
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 PingPongKey
Source§impl Debug for PingPongKey
impl Debug for PingPongKey
impl Eq for PingPongKey
Source§impl Hash for PingPongKey
impl Hash for PingPongKey
Source§impl PartialEq for PingPongKey
impl PartialEq for PingPongKey
Source§fn eq(&self, other: &PingPongKey) -> bool
fn eq(&self, other: &PingPongKey) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PingPongKey
Auto Trait Implementations§
impl Freeze for PingPongKey
impl RefUnwindSafe for PingPongKey
impl Send for PingPongKey
impl Sync for PingPongKey
impl Unpin for PingPongKey
impl UnsafeUnpin for PingPongKey
impl UnwindSafe for PingPongKey
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