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>
20 lines
362 B
C
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
|