Trait RenderPass
Source pub trait RenderPass {
type SharedData;
type PreProcessed;
type Output;
// Required methods
fn preprocess(
&mut self,
graphics_objects: Arc<GraphicsObjects>,
shared: Arc<Self::SharedData>,
) -> Result<Self::PreProcessed, HaltPolicy>;
fn build_commands(
&mut self,
graphics_objects: Arc<GraphicsObjects>,
shared: Arc<Self::SharedData>,
cmd_buffer: &mut Box<CmdBuffer>,
preprocessed: Self::PreProcessed,
) -> Result<Self::Output, HaltPolicy>;
fn postprocess(
&mut self,
graphics_objects: Arc<GraphicsObjects>,
shared: Arc<Self::SharedData>,
output: Self::Output,
);
}