Trait rin::gl::fbo::ColorAttach[][src]

pub trait ColorAttach {
    pub unsafe fn color_attach(
        &self,
        framebuffer: &FrameBuffer,
        target: u32,
        attachment: u32
    );
pub fn width(&self) -> u32;
pub fn height(&self) -> u32;
pub fn samples(&self) -> u32;
pub fn attachment_id(&self) -> ColorAttachmentId; }

Required methods

pub unsafe fn color_attach(
    &self,
    framebuffer: &FrameBuffer,
    target: u32,
    attachment: u32
)
[src]

pub fn width(&self) -> u32[src]

pub fn height(&self) -> u32[src]

pub fn samples(&self) -> u32[src]

pub fn attachment_id(&self) -> ColorAttachmentId[src]

Loading content...

Implementors

impl ColorAttach for ColorAttachment[src]

impl ColorAttach for CubeMap[src]

impl ColorAttach for Texture[src]

impl ColorAttach for RenderBuffer[src]

impl<C> ColorAttach for CubemapFaceLevelRef<C> where
    C: Borrow<CubeMap>, 
[src]

impl<T> ColorAttach for CubemapLevelRef<T> where
    T: Borrow<CubeMap>, 
[src]

impl<T> ColorAttach for TextureLayerLevelRef<T> where
    T: Borrow<Texture>, 
[src]

impl<T> ColorAttach for TextureLevelRef<T> where
    T: Borrow<Texture>, 
[src]

Loading content...