Implemented depth buffering

This commit is contained in:
Lorenzo Torres 2025-08-10 14:40:23 +02:00
parent 09799eaa9b
commit 444a4586ea
6 changed files with 154 additions and 20 deletions

View file

@ -162,6 +162,7 @@ pub fn create_device(self: *PhysicalDevice, surface: vk.Surface, allocator: Allo
var device_properties: c.VkPhysicalDeviceProperties = undefined;
c.vkGetPhysicalDeviceProperties(self.handle, &device_properties);
return .{
.handle = device,
.graphics_queue = graphics_queue,