documenting

master
mitchellhansen 5 years ago
parent 629a513dfc
commit 8db858b29a

@ -1 +0,0 @@
<mxfile host="Electron" modified="2019-10-18T06:15:49.913Z" agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/12.1.0 Chrome/76.0.3809.139 Electron/6.0.7 Safari/537.36" etag="oAf7Y7yCCX11Px1P3c5p" version="12.1.0" type="device" pages="1"><diagram id="207_h35IBA5InrABCH76" name="Page-1">7V1tb5s6FP41kbYPicDmLR/bZt0mdXfVUt3dfrpywEnYCI6IszT79dcGEwImC7uF2EyZqg0fDAnPc958fOgG8G718j5B6+UnEuBoAIzgZQAnAwDgeGyyf7hkn0mAZbiZZJGEQSYzC8E0/ImF0BDSbRjgTWkiJSSi4bos9EkcY5+WZChJyK48bU6i8qeu0QJLgqmPIln6NQzoUkjHwChOfMDhYpl/NDDEmRXKZwvBZokCsjsSwXcDeJcQQrOj1csdjjh8OTDZdfcnzh6+WYJj2uSCr/D56a/pd/iwnN58xjvnx3wbD53sLj9QtBVP/IRfqPjCdJ/DsNmFqwjFbHQ7JzGdijMmG6MoXMTs2GdfAydM8AMnNGQI3ogTlKyZ1F+GUfCA9mTLv+yGIv97PrpdkiT8yW6LInFPdjqhQhmAU5ox5VcyscGkCd6wOY85AmZF9Am9lCY+oA0VAp9EEVpvwtnhMVYoWYTxLaGUrMQkAQ17HPxyEnPzwCQzAkxWmCZ7NkVcMBbcC/WHuVrvjnTJEbLlkRp5ghck1HdxuHNBMDsQHP8G367E9wDccsMIMbeMG25f+zWWFIByreDEJOQ7viMRYUxPYpJpRBhFFVGuFBGe05MqsVkjP4wXD+mciVVIvggguIiwa+dRajfLMAhwzOkkFFGUcceJWpMwpilS9i37YXjeGSN7YLMvfsfGZjFmP3x6Qu9IzJ4FhSmNmCnGDnPlaMb5aUuSFSF3fE4z4kFXxHs1xFc4jsKUu4zj3NuZ/4vgFaMqwgWjT5zwydCUWIcy67CG4QjNcPRINiENCb9/ks2tM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b+JcFF/XlqC8lh5PKqNI9c6XHk+owmVKj1ZtRtpd6TFcLfpcdnRsr2qXGhQeLbn/UsSXNBPsXWgZSqmP8tjiatQWo7/va7ztcqKx+UK+r6ttF5511Pkwn5vL7zq+MN5QFLOVr3rvZ+e1VJ18X81arsit++j89Eus8y/Qp0aCEVDm/Zp2/NhKmwJd90pqF6QqDWmudyW1C1KVrtHc8ZXULkgFSpNPuZT6Hsc4Cf2jaqrxkb8NN+f5SauJjI29wKpLZDwwg47TTiLD8pGaUuwIjh3bNl1gmTBXbHUVQ7mboiChdgVwzEhNqu5HW/7Ln9jHiqz9lUm7KuL0S/PlLo6CqbzY0W9jqST95sg7thRTtan8XlOIeMErQJtlirvZDsb69ijASuOT68KRO4amAS3LA65deWOvacdC9bZDycQ6blmwZd4PjpE5PrTi1pP9nZpg5vbY4e12PsfMNxpk9g37dPM6o2zBxOxKF8nw8EKNMqOy5Y3BA7gV/JTD54zH2sEHmsKnHD2vWjrTAL2Tuwap/+3lpvRQjqPKi2dK36zq2c6B3XjnQGntzO5q50BYXmubB3rsmsJq6NBgQWHL+wY9zWssS7+8Rl5X19jHaZj5CnqCKFKOLW/Eqaiue6hqqINXXgzXuR+lAOqElyOvYbTD61RXnRb4ycsUXfEbAltDg3VNCZhrDnhS28S65PwvVbHrVeEyOaBzcvnU46Ze1/NGHiz+WBVbUp1Y5CWcqyE1MaSmi6msCVSZIcmLqV53L/IeUaixDTlKt5P7ZkNOUxtSG4z+tC44G+gdiByljTZ9M6LGLRlqjUhuyeh9QRyOy3aUv8F3AUNiw+K/isq2I4v/cgu++w8=</diagram></mxfile>

File diff suppressed because one or more lines are too long

@ -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());

Loading…
Cancel
Save