adding device memory base

This commit is contained in:
2025-11-08 01:00:30 +01:00
parent 7fdc02c260
commit 4b23abe795
8 changed files with 115 additions and 37 deletions

13
src/vulkan/Buffer.zig git.filemode.normal_file
View File

@@ -0,0 +1,13 @@
const std = @import("std");
const vk = @import("vulkan");
const VkError = @import("error_set.zig").VkError;
const Device = @import("Device.zig");
const Self = @This();
pub const ObjectType: vk.ObjectType = .buffer;
owner: *const Device,
size: vk.DeviceSize,
offset: vk.DeviceSize,
usage: vk.BufferUsageFlags,