HUZ7YFN6VIDK3MFB45AC5HP5JLT7XKJQ4SMNXTFY2L5TRTFY4OHAC
/// This middleware is responsible for rendering the world texture to the screen.
#[allow(dead_code)]
pub mod world {
pub struct WorldRenderer {}
pub type WorldRenderFrameData = ();
impl WorldRenderer {
fn new(device: &wgpu::Device, texture_format: wgpu::TextureFormat) -> Self {
let _ = device;
let _ = texture_format;
Self {}
}
fn prepare(&mut self) -> WorldRenderFrameData {
todo!()
}
fn render<'rpass>(
&'rpass self,
render_pass: &mut wgpu::RenderPass<'rpass>,
render_data: &'rpass WorldRenderFrameData,
) {
let _ = render_pass;
let _ = render_data;
}
}
}