documenting

This commit is contained in:
2020-01-20 23:41:46 -08:00
parent 629a513dfc
commit 8db858b29a
3 changed files with 3 additions and 3 deletions

View File

@@ -88,6 +88,7 @@ impl<'a> VkProcessor<'a> {
}
}
/// VKProcessor controls the window. So it will let the main loop know when it is done
pub fn is_open(&mut self) -> bool {
self.surfcae
}
@@ -164,7 +165,7 @@ impl<'a> VkProcessor<'a> {
self.compute_state.new_kernel(String::from("simple-edge.compute"), self.device.clone());
}
/// A hardcoded list of shaders which can be proloaded from this function
/// A hardcoded list of shaders which can be preloaded from this function
pub fn preload_shaders(&mut self) {
self.canvas_state.load_shader::<GenericShader>(String::from("color-passthrough"), self.physical.clone(), self.capabilities.clone());
self.canvas_state.load_shader::<GenericShader>(String::from("simple_texture"), self.physical.clone(), self.capabilities.clone());