refactor stub

This commit is contained in:
David Allemang
2024-07-09 13:19:56 -04:00
parent eaf97a306f
commit 1269018e61
8 changed files with 468 additions and 273 deletions

23
src/nu/Render.zig Normal file
View File

@@ -0,0 +1,23 @@
const std = @import("std");
const Window = @import("Window.zig");
const Self = @This();
// isolate all the vulkan code through this path
// except for imgui code
// const au = @import("au.zig");
pub fn init(alloc: std.mem.Allocator, window: *Window) !Self {
_ = alloc;
_ = window;
// todo check vulkan supported
// todo create window surface
return .{};
}
pub fn deinit(self: *Self) void {
_ = self;
}