[−][src]Trait web_glitz::rendering::EncodeDepthStencilBuffer
Helper trait implemented by types that describe a depth-stencil image attachment for a [RenderTarget].
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_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> EncodeDepthStencilBuffer for DepthAttachment<I> where
I: AsAttachment, [src]
I: AsAttachment,
type Buffer = DepthBuffer<I::Format>
fn encode_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> EncodeDepthStencilBuffer for DepthStencilAttachment<I> where
I: AsAttachment, [src]
I: AsAttachment,
type Buffer = DepthStencilBuffer<I::Format>
fn encode_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> EncodeDepthStencilBuffer for StencilAttachment<I> where
I: AsAttachment, [src]
I: AsAttachment,
type Buffer = StencilBuffer<I::Format>
fn encode_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>