INNER CODE UNIT · Rust
end_frame
wkwan/flo · src/egui_integration.rs:46
pub fn end_frame(&mut self) -> egui::FullOutput {
self.context.end_pass()
}
pub fn paint(
&mut self,
command_buffer: vk::CommandBuffer,
extent: vk::Extent2D,
full_output: egui::FullOutput,
) -> Result<(), Box<dyn std::error::Error>> {
let clipped_primitives = self.context.tessellate(
full_output.shapes,
full_output.pixels_per_point,
);
// Set new and updated textures
if !full_output.textures_delta.set.is_empty() {
self.renderer.set_textures(