[][src]Struct web_glitz::rendering::ColorBufferEncoding

pub struct ColorBufferEncoding<'a, 'b, B> { /* fields omitted */ }

An encoding of the information needed by a [RenderPass] to load data from an attached image into the framebuffer before the render pass, and to store data from the framebuffer back into the attached image after the render pass.

Implementations

impl<'a, 'b, F> ColorBufferEncoding<'a, 'b, FloatBuffer<F>> where
    F: InternalFormat
[src]

pub fn float_attachment<I>(
    context: &'a mut ColorBufferEncodingContext,
    image: &'b mut I,
    load_op: LoadOp<[f32; 4]>,
    store_op: StoreOp
) -> Self where
    I: AsAttachment<Format = F>, 
[src]

pub fn multisample_float_attachment<I>(
    context: &'a mut ColorBufferEncodingContext,
    image: &'b mut I,
    load_op: LoadOp<[f32; 4]>,
    store_op: StoreOp
) -> Self where
    I: AsMultisampleAttachment<SampleFormat = F>,
    F: Multisamplable
[src]

impl<'a, 'b, F> ColorBufferEncoding<'a, 'b, IntegerBuffer<F>> where
    F: InternalFormat
[src]

pub fn integer_attachment<I>(
    context: &'a mut ColorBufferEncodingContext,
    image: &'b mut I,
    load_op: LoadOp<[i32; 4]>,
    store_op: StoreOp
) -> Self where
    I: AsAttachment<Format = F>, 
[src]

impl<'a, 'b, F> ColorBufferEncoding<'a, 'b, UnsignedIntegerBuffer<F>> where
    F: InternalFormat
[src]

pub fn unsigned_integer_attachment<I>(
    context: &'a mut ColorBufferEncodingContext,
    image: &'b mut I,
    load_op: LoadOp<[u32; 4]>,
    store_op: StoreOp
) -> Self where
    I: AsAttachment<Format = F>, 
[src]

Auto Trait Implementations

impl<'a, 'b, B> !RefUnwindSafe for ColorBufferEncoding<'a, 'b, B>

impl<'a, 'b, B> !Send for ColorBufferEncoding<'a, 'b, B>

impl<'a, 'b, B> !Sync for ColorBufferEncoding<'a, 'b, B>

impl<'a, 'b, B> Unpin for ColorBufferEncoding<'a, 'b, B> where
    B: Unpin

impl<'a, 'b, B> !UnwindSafe for ColorBufferEncoding<'a, 'b, B>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<D, T> IntoBuffer<T> for D where
    D: Borrow<T> + 'static,
    T: Copy + 'static, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.