Trait glium::framebuffer::ToDepthAttachment
[−]
[src]
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 DepthRenderBufferimpl<'a> ToDepthAttachment<'a> for DepthAttachment<'a>impl<'t> ToDepthAttachment<'t> for &'t DepthTexture1dimpl<'t> ToDepthAttachment<'t> for DepthTexture1dMipmap<'t>impl<'t> ToDepthAttachment<'t> for &'t DepthTexture2dimpl<'t> ToDepthAttachment<'t> for DepthTexture2dMipmap<'t>impl<'t> ToDepthAttachment<'t> for &'t DepthTexture2dMultisampleimpl<'t> ToDepthAttachment<'t> for DepthTexture2dMultisampleMipmap<'t>impl<'t> ToDepthAttachment<'t> for DepthTexture3dMipmap<'t>impl<'t> ToDepthAttachment<'t> for DepthTexture1dArrayLayerMipmap<'t>impl<'t> ToDepthAttachment<'t> for DepthTexture2dArrayLayerMipmap<'t>impl<'t> ToDepthAttachment<'t> for DepthTexture2dMultisampleArrayLayerMipmap<'t>impl<'t> ToDepthAttachment<'t> for DepthCubemapImage<'t>impl<'t> ToDepthAttachment<'t> for DepthCubemapArrayImage<'t>