[−][src]Struct web_glitz::image::format::Multisample
Constructs a multisample storage format.
Example
The following creates an RGBA8 format with 4 samples:
use web_glitz::image::format::{Multisample, RGBA8}; let format = Multisample(RGBA8, 4);
Note that the base format must be Multisamplable.
Implementations
impl<F> Multisample<F> where
F: Multisamplable + Copy, [src]
F: Multisamplable + Copy,
pub fn sample_format(&self) -> F[src]
impl<F> Multisample<F> where
F: Multisamplable, [src]
F: Multisamplable,
Auto Trait Implementations
impl<F> RefUnwindSafe for Multisample<F> where
F: RefUnwindSafe,
F: RefUnwindSafe,
impl<F> Send for Multisample<F> where
F: Send,
F: Send,
impl<F> Sync for Multisample<F> where
F: Sync,
F: Sync,
impl<F> Unpin for Multisample<F> where
F: Unpin,
F: Unpin,
impl<F> UnwindSafe for Multisample<F> where
F: UnwindSafe,
F: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<D, T> IntoBuffer<T> for D where
D: Borrow<T> + 'static,
T: Copy + 'static, [src]
D: Borrow<T> + 'static,
T: Copy + 'static,
fn into_buffer<Rc>(Self, &Rc, BufferId, UsageHint) -> Buffer<T> where
Rc: RenderingContext + Clone + 'static, [src]
Rc: RenderingContext + Clone + 'static,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,