mirror of
https://github.com/bevyengine/bevy
synced 2024-11-21 20:23:28 +00:00
rename pipelinebuilder.build() to finish()
This commit is contained in:
parent
cfaee577e7
commit
fb4752532b
5 changed files with 5 additions and 5 deletions
|
@ -59,7 +59,7 @@ fn main() {
|
|||
"#,
|
||||
))
|
||||
.with_standard_config()
|
||||
.build(),
|
||||
.finish(),
|
||||
)
|
||||
})
|
||||
.run();
|
||||
|
|
|
@ -112,7 +112,7 @@ impl<'a> PipelineBuilder<'a> {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn build(self) -> PipelineDescriptor {
|
||||
pub fn finish(self) -> PipelineDescriptor {
|
||||
self.pipeline
|
||||
}
|
||||
|
||||
|
|
|
@ -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(),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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(),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -93,7 +93,7 @@ impl UiPipelineBuilder for RenderGraphBuilder {
|
|||
],
|
||||
})
|
||||
.add_draw_target(resource_name::draw_target::UI)
|
||||
.build(),
|
||||
.finish(),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue