[−][src]Trait web_glitz::rendering::EncodeMultisampleDepthStencilBuffer
Helper trait implemented by types that describe a multisampledepth-stencil image attachment for a [MultisampleRenderTarget].
Associated Types
type Buffer: RenderingOutputBuffer
The type of RenderingOutputBuffer that is allocated in the framebuffer to buffer modifications to the attached image.
Required methods
fn encode_multisample_depth_stencil_buffer<'a, 'b>(
&'a mut self,
context: &'b mut DepthStencilBufferEncodingContext
) -> DepthStencilBufferEncoding<'b, 'a, Self::Buffer>
&'a mut self,
context: &'b mut DepthStencilBufferEncodingContext
) -> DepthStencilBufferEncoding<'b, 'a, Self::Buffer>
Returns an encoding of the information needed by a [RenderPass] to load data from the 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.
Implementors
impl<I> EncodeMultisampleDepthStencilBuffer for DepthAttachment<I> where
I: AsMultisampleAttachment,
[src]
I: AsMultisampleAttachment,
type Buffer = DepthBuffer<I::SampleFormat>
fn encode_multisample_depth_stencil_buffer<'a, 'b>(
&'a mut self,
context: &'b mut DepthStencilBufferEncodingContext
) -> DepthStencilBufferEncoding<'b, 'a, Self::Buffer>
[src]
&'a mut self,
context: &'b mut DepthStencilBufferEncodingContext
) -> DepthStencilBufferEncoding<'b, 'a, Self::Buffer>
impl<I> EncodeMultisampleDepthStencilBuffer for DepthStencilAttachment<I> where
I: AsMultisampleAttachment,
[src]
I: AsMultisampleAttachment,
type Buffer = DepthStencilBuffer<I::SampleFormat>
fn encode_multisample_depth_stencil_buffer<'a, 'b>(
&'a mut self,
context: &'b mut DepthStencilBufferEncodingContext
) -> DepthStencilBufferEncoding<'b, 'a, Self::Buffer>
[src]
&'a mut self,
context: &'b mut DepthStencilBufferEncodingContext
) -> DepthStencilBufferEncoding<'b, 'a, Self::Buffer>