[][src]Trait glium::framebuffer::ToDepthStencilAttachment

pub trait ToDepthStencilAttachment<'a> {
    fn to_depth_stencil_attachment(self) -> DepthStencilAttachment<'a>;
}
[]

Trait for objects that can be used as depth and stencil attachments.

Required methods

fn to_depth_stencil_attachment(self) -> DepthStencilAttachment<'a>[]

Builds the DepthStencilAttachment.

Implementors

impl<'a> ToDepthStencilAttachment<'a> for &'a DepthStencilRenderBuffer[src][+]

impl<'a> ToDepthStencilAttachment<'a> for DepthStencilAttachment<'a>[src][+]

impl<'t> ToDepthStencilAttachment<'t> for &'t DepthStencilTexture1d[src][+]

impl<'t> ToDepthStencilAttachment<'t> for &'t DepthStencilTexture2d[src][+]

impl<'t> ToDepthStencilAttachment<'t> for &'t DepthStencilTexture2dMultisample[src][+]

impl<'t> ToDepthStencilAttachment<'t> for DepthStencilCubemapImage<'t>[src][+]

impl<'t> ToDepthStencilAttachment<'t> for DepthStencilCubemapArrayImage<'t>[src][+]

impl<'t> ToDepthStencilAttachment<'t> for DepthStencilTexture1dMipmap<'t>[src][+]

impl<'t> ToDepthStencilAttachment<'t> for DepthStencilTexture1dArrayLayerMipmap<'t>[src][+]

impl<'t> ToDepthStencilAttachment<'t> for DepthStencilTexture2dMipmap<'t>[src][+]

impl<'t> ToDepthStencilAttachment<'t> for DepthStencilTexture2dArrayLayerMipmap<'t>[src][+]

impl<'t> ToDepthStencilAttachment<'t> for DepthStencilTexture2dMultisampleMipmap<'t>[src][+]

impl<'t> ToDepthStencilAttachment<'t> for DepthStencilTexture2dMultisampleArrayLayerMipmap<'t>[src][+]

impl<'t> ToDepthStencilAttachment<'t> for DepthStencilTexture3dMipmap<'t>[src][+]