Struct luminance::render::FrameCommand [] [src]

pub struct FrameCommand<'a, C, L, D, CS, DS> where C: 'a + HasFramebuffer + HasProgram + HasTessellation + HasTexture, L: 'a + Layerable, D: 'a + Dimensionable, D::Size: Copy, CS: 'a + ColorSlot<C, L, D>, DS: 'a + DepthSlot<C, L, D> {
    pub framebuffer: &'a Framebuffer<C, L, D, CS, DS>,
    pub clear_color: [f32; 4],
    pub shading_commands: Vec<ShadingCommand<'a, C>>,
}

Fields

framebuffer: &'a Framebuffer<C, L, D, CS, DS> clear_color: [f32; 4] shading_commands: Vec<ShadingCommand<'a, C>>

Methods

impl<'a, C, L, D, CS, DS> FrameCommand<'a, C, L, D, CS, DS> where C: HasFramebuffer + HasProgram + HasTessellation + HasTexture, L: Layerable, D: Dimensionable, D::Size: Copy, CS: ColorSlot<C, L, D>, DS: DepthSlot<C, L, D>
[src]

fn new(framebuffer: &'a Framebuffer<C, L, D, CS, DS>, clear_color: [f32; 4], shading_commands: Vec<ShadingCommand<'a, C>>) -> Self