Struct glium::framebuffer::MultiOutputFrameBuffer
[−]
[src]
pub struct MultiOutputFrameBuffer<'a> {
// some fields omitted
}This struct is useless for the moment.
Methods
impl<'a> MultiOutputFrameBuffer<'a>
fn new<F>(facade: &F, color_attachments: &[(&str, &'a Texture2d)]) -> MultiOutputFrameBuffer<'a> where F: Facade
Creates a new MultiOutputFrameBuffer.
Panic
Panics if all attachments don't have the same dimensions.
fn with_depth_buffer<F, D>(facade: &F, color_attachments: &[(&str, &'a Texture2d)], depth: &'a D) -> MultiOutputFrameBuffer<'a> where D: ToDepthAttachment, F: Facade
Creates a MultiOutputFrameBuffer with a depth buffer.
Panic
Panics if all attachments don't have the same dimensions.