topaz/rendering/vk/vk.h
h3llll 1070d03815 feat(layout)!: move /gl and /vk into rendering directory
as I was adding the audio module I realized it looks really ugly that
the audio-related stuff will be in its own directory and the renderer
modules will be scattered in root directory it makes way more sense this
way

Signed-off-by: Lorenzo Torres <lorenzo@sagittarius-a.org>
2025-11-05 19:39:44 +01:00

20 lines
362 B
C

/* SPDX-License-Identifier:BSD-3-Clause */
#ifndef VK_H
#define VK_H
#include <vulkan/vulkan.h>
#include "../../types.h"
struct queue_family_indices {
u32 graphics, present;
};
struct renderer_context {
VkInstance instance;
VkPhysicalDevice physical_device;
VkDevice device;
VkQueue graphics_queue;
struct queue_family_indices queue_indices;
};
#endif