documenting
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user