rename pipelinebuilder.build() to finish()

This commit is contained in:
Carter Anderson 2020-03-10 02:16:01 -07:00
parent cfaee577e7
commit fb4752532b
5 changed files with 5 additions and 5 deletions

View file

@ -59,7 +59,7 @@ fn main() {
"#,
))
.with_standard_config()
.build(),
.finish(),
)
})
.run();

View file

@ -112,7 +112,7 @@ impl<'a> PipelineBuilder<'a> {
}
}
pub fn build(self) -> PipelineDescriptor {
pub fn finish(self) -> PipelineDescriptor {
self.pipeline
}

View file

@ -64,7 +64,7 @@ impl ForwardPipelineBuilder for RenderGraphBuilder {
})
.add_vertex_buffer_descriptor(Vertex::get_vertex_buffer_descriptor())
.add_draw_target(resource_name::draw_target::ASSIGNED_MESHES)
.build(),
.finish(),
)
}
}

View file

@ -57,7 +57,7 @@ impl ForwardFlatPipelineBuilder for RenderGraphBuilder {
})
.add_vertex_buffer_descriptor(Vertex::get_vertex_buffer_descriptor())
.add_draw_target(resource_name::draw_target::MESHES)
.build(),
.finish(),
)
}
}

View file

@ -93,7 +93,7 @@ impl UiPipelineBuilder for RenderGraphBuilder {
],
})
.add_draw_target(resource_name::draw_target::UI)
.build(),
.finish(),
)
}
}