feat: Step 2 colored triangle with Vulkan graphics pipeline

This commit is contained in:
emil28092005
2026-06-16 17:49:29 +03:00
parent 6397488c61
commit 4627c96814
11 changed files with 586 additions and 16 deletions
+3 -3
View File
@@ -12,9 +12,9 @@ public sealed unsafe class Swapchain : IDisposable
private readonly VulkanContext _context;
private VkRenderPass _renderPass;
private VkSwapchainKHR _swapchain;
private VkImage[] _images;
private VkImageView[] _imageViews;
private VkFramebuffer[] _framebuffers;
private VkImage[] _images = null!;
private VkImageView[] _imageViews = null!;
private VkFramebuffer[] _framebuffers = null!;
private VkSurfaceFormatKHR _surfaceFormat;
private VkPresentModeKHR _presentMode;
private VkExtent2D _extent;