refactor stub
This commit is contained in:
23
src/nu/Render.zig
Normal file
23
src/nu/Render.zig
Normal 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;
|
||||
}
|
Reference in New Issue
Block a user