Trait glium::framebuffer::ToColorAttachment
[−]
[src]
pub trait ToColorAttachment<'a> {
fn to_color_attachment(self) -> ColorAttachment<'a>;
}Trait for objects that can be used as color attachments.
Required Methods
fn to_color_attachment(self) -> ColorAttachment<'a>
Builds the ColorAttachment.
Implementors
impl<'a> ToColorAttachment<'a> for &'a RenderBufferimpl<'t> ToColorAttachment<'t> for &'t Texture1dimpl<'t> ToColorAttachment<'t> for Texture1dMipmap<'t>impl<'t> ToColorAttachment<'t> for Texture1dLayerMipmap<'t>impl<'t> ToColorAttachment<'t> for &'t SrgbTexture1dimpl<'t> ToColorAttachment<'t> for SrgbTexture1dMipmap<'t>impl<'t> ToColorAttachment<'t> for SrgbTexture1dLayerMipmap<'t>impl<'t> ToColorAttachment<'t> for &'t Texture2dimpl<'t> ToColorAttachment<'t> for Texture2dMipmap<'t>impl<'t> ToColorAttachment<'t> for Texture2dLayerMipmap<'t>impl<'t> ToColorAttachment<'t> for &'t SrgbTexture2dimpl<'t> ToColorAttachment<'t> for SrgbTexture2dMipmap<'t>impl<'t> ToColorAttachment<'t> for SrgbTexture2dLayerMipmap<'t>impl<'t> ToColorAttachment<'t> for &'t Texture2dMultisampleimpl<'t> ToColorAttachment<'t> for Texture2dMultisampleMipmap<'t>impl<'t> ToColorAttachment<'t> for Texture2dMultisampleLayerMipmap<'t>impl<'t> ToColorAttachment<'t> for &'t SrgbTexture2dMultisampleimpl<'t> ToColorAttachment<'t> for SrgbTexture2dMultisampleMipmap<'t>impl<'t> ToColorAttachment<'t> for SrgbTexture2dMultisampleLayerMipmap<'t>impl<'t> ToColorAttachment<'t> for Texture1dArrayLayerMipmap<'t>impl<'t> ToColorAttachment<'t> for SrgbTexture1dArrayLayerMipmap<'t>impl<'t> ToColorAttachment<'t> for Texture2dArrayLayerMipmap<'t>impl<'t> ToColorAttachment<'t> for SrgbTexture2dArrayLayerMipmap<'t>impl<'t> ToColorAttachment<'t> for Texture2dMultisampleArrayLayerMipmap<'t>impl<'t> ToColorAttachment<'t> for SrgbTexture2dMultisampleArrayLayerMipmap<'t>impl<'t> ToColorAttachment<'t> for CubemapImage<'t>impl<'t> ToColorAttachment<'t> for SrgbCubemapImage<'t>impl<'t> ToColorAttachment<'t> for CubemapArrayImage<'t>impl<'t> ToColorAttachment<'t> for SrgbCubemapArrayImage<'t>