working on piping events through to the rendered sprites, ztesting, focus, etc.
This commit is contained in:
@@ -44,6 +44,7 @@ pub struct VkProcessor {
|
||||
|
||||
/// State holding textures, images, and their related vertex buffers
|
||||
canvas_state: CanvasState,
|
||||
|
||||
/// State holding
|
||||
compute_state: CompuState,
|
||||
|
||||
@@ -89,6 +90,10 @@ impl VkProcessor {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn get_canvas_state(&self) -> &CanvasState {
|
||||
&self.canvas_state
|
||||
}
|
||||
|
||||
/// Using the surface, we calculate the surface capabilities and create the swapchain and swapchain images
|
||||
pub fn create_swapchain(&mut self, instance: Arc<Instance>, surface: Arc<Surface<Window>>) {
|
||||
let (mut swapchain, images) = {
|
||||
|
||||
Reference in New Issue
Block a user