[][src]Trait glium::framebuffer::ToDepthAttachment

pub trait ToDepthAttachment<'a> {
    fn to_depth_attachment(self) -> DepthAttachment<'a>;
}
[]

Trait for objects that can be used as depth attachments.

Required methods

fn to_depth_attachment(self) -> DepthAttachment<'a>[]

Builds the DepthAttachment.

Implementors

impl<'a> ToDepthAttachment<'a> for &'a DepthRenderBuffer[src][+]

impl<'a> ToDepthAttachment<'a> for DepthAttachment<'a>[src][+]

impl<'t> ToDepthAttachment<'t> for &'t DepthTexture1d[src][+]

impl<'t> ToDepthAttachment<'t> for &'t DepthTexture2d[src][+]

impl<'t> ToDepthAttachment<'t> for &'t DepthTexture2dMultisample[src][+]

impl<'t> ToDepthAttachment<'t> for DepthCubemapImage<'t>[src][+]

impl<'t> ToDepthAttachment<'t> for DepthCubemapArrayImage<'t>[src][+]

impl<'t> ToDepthAttachment<'t> for DepthTexture1dMipmap<'t>[src][+]

impl<'t> ToDepthAttachment<'t> for DepthTexture1dArrayLayerMipmap<'t>[src][+]

impl<'t> ToDepthAttachment<'t> for DepthTexture2dMipmap<'t>[src][+]

impl<'t> ToDepthAttachment<'t> for DepthTexture2dArrayLayerMipmap<'t>[src][+]

impl<'t> ToDepthAttachment<'t> for DepthTexture2dMultisampleMipmap<'t>[src][+]

impl<'t> ToDepthAttachment<'t> for DepthTexture2dMultisampleArrayLayerMipmap<'t>[src][+]

impl<'t> ToDepthAttachment<'t> for DepthTexture3dMipmap<'t>[src][+]