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)]) -> Result<MultiOutputFrameBuffer<'a>, ValidationError> 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: D) -> Result<MultiOutputFrameBuffer<'a>, ValidationError> where D: ToDepthAttachment<'a>, F: Facade
Creates a MultiOutputFrameBuffer
with a depth buffer.
Panic
Panics if all attachments don't have the same dimensions.