Karma Engine
Loading...
Searching...
No Matches
VulkanHolder.h
1#pragma once
2
3#include "krpch.h"
4
5#include "Platform/Vulkan/VulkanContext.h"
6
7namespace Karma
8{
9 class KARMA_API VulkanHolder
10 {
11 public:
12 static void SetVulkanContext(VulkanContext* vulkanContext)
13 {
14 m_VulkanContext = vulkanContext;
15 }
16
17 static VulkanContext* GetVulkanContext()
18 {
19 return m_VulkanContext;
20 }
21
22 private:
23 static VulkanContext* m_VulkanContext;
24 };
25}
Definition VulkanContext.h:38
Definition VulkanHolder.h:10