Trait glin::fbo::ColorAttach[][src]

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

Required methods

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

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

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

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

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: Borrow<CubeMap>> ColorAttach for CubemapFaceLevelRef<C>[src]

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

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

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

Loading content...