const vk = @import("vulkan"); const CommandBuffer = @import("Command.zig").Buffer; const QueueId = @import("queues.zig").QueueId; cur_cmd_buf: [QueueId.count]CommandBuffer = undefined, prev_cmd_buf: [QueueId.count]CommandBuffer = undefined, last_submit_queue: ?QueueId = null, most_recent_begin: ?QueueId = null, const Self = @This(); pub var context: Self = Self{}; pub fn init() Self { context = .{}; return context; } pub fn deinit() void { context = .{}; }