[−][src]Struct web_glitz::rendering::ColorBufferEncoding
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]
F: InternalFormat,
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]
context: &'a mut ColorBufferEncodingContext,
image: &'b mut I,
load_op: LoadOp<[f32; 4]>,
store_op: StoreOp
) -> Self where
I: AsAttachment<Format = F>,
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]
context: &'a mut ColorBufferEncodingContext,
image: &'b mut I,
load_op: LoadOp<[f32; 4]>,
store_op: StoreOp
) -> Self where
I: AsMultisampleAttachment<SampleFormat = F>,
F: Multisamplable,
impl<'a, 'b, F> ColorBufferEncoding<'a, 'b, IntegerBuffer<F>> where
F: InternalFormat,
[src]
F: InternalFormat,
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]
context: &'a mut ColorBufferEncodingContext,
image: &'b mut I,
load_op: LoadOp<[i32; 4]>,
store_op: StoreOp
) -> Self where
I: AsAttachment<Format = F>,
impl<'a, 'b, F> ColorBufferEncoding<'a, 'b, UnsignedIntegerBuffer<F>> where
F: InternalFormat,
[src]
F: InternalFormat,
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]
context: &'a mut ColorBufferEncodingContext,
image: &'b mut I,
load_op: LoadOp<[u32; 4]>,
store_op: StoreOp
) -> Self where
I: AsAttachment<Format = F>,
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,
B: Unpin,
impl<'a, 'b, B> !UnwindSafe for ColorBufferEncoding<'a, 'b, B>
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,
pub 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,
pub 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.
pub 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>,