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 RenderBuffer
impl<'t> ToColorAttachment<'t> for &'t Texture1d
impl<'t> ToColorAttachment<'t> for Texture1dMipmap<'t>
impl<'t> ToColorAttachment<'t> for Texture1dLayerMipmap<'t>
impl<'t> ToColorAttachment<'t> for &'t SrgbTexture1d
impl<'t> ToColorAttachment<'t> for SrgbTexture1dMipmap<'t>
impl<'t> ToColorAttachment<'t> for SrgbTexture1dLayerMipmap<'t>
impl<'t> ToColorAttachment<'t> for &'t Texture2d
impl<'t> ToColorAttachment<'t> for Texture2dMipmap<'t>
impl<'t> ToColorAttachment<'t> for Texture2dLayerMipmap<'t>
impl<'t> ToColorAttachment<'t> for &'t SrgbTexture2d
impl<'t> ToColorAttachment<'t> for SrgbTexture2dMipmap<'t>
impl<'t> ToColorAttachment<'t> for SrgbTexture2dLayerMipmap<'t>
impl<'t> ToColorAttachment<'t> for &'t Texture2dMultisample
impl<'t> ToColorAttachment<'t> for Texture2dMultisampleMipmap<'t>
impl<'t> ToColorAttachment<'t> for Texture2dMultisampleLayerMipmap<'t>
impl<'t> ToColorAttachment<'t> for &'t SrgbTexture2dMultisample
impl<'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>