CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
VKLoader.hpp File Reference
#include "CeresEngine/Macros.hpp"
#include "CeresEngine/Foundation/DynamicLibrary.hpp"
#include <vulkan/vulkan.h>
#include "VKLoader.inc"

Go to the source code of this file.

Classes

struct  CeresEngine::VKFuncTable
 

Namespaces

namespace  CeresEngine
 

Macros

#define VK_NO_PROTOTYPES
 
#define VK_DEFINE_NON_DISPATCHABLE_HANDLE(object)   typedef struct object##_T* object;
 
#define CE_VK_FUNCTION(N)   extern PFN_vk##N vk##N;
 
#define CE_VK_FUNCTION(N)   PFN_vk##N N = nullptr;
 

Typedefs

template<typename T = void>
using CeresEngine::VKSymbol = DynamicLibrary::Symbol< T >
 A symbol loaded from the Vulkan driver.
 

Functions

void CeresEngine::VKLoadVulkan (const DynamicLibrary &dynamicLibrary) noexcept
 Loads instance creation function pointers from the Vulkan shared library.
 
void CeresEngine::VKLoadVulkan (VkInstance instance) noexcept
 Loads remaining Vulkan functions from the Vulkan driver.
 

Variables

PFN_vkGetInstanceProcAddr CeresEngine::vkGetInstanceProcAddr
 
PFN_vkCreateInstance CeresEngine::vkCreateInstance
 
PFN_vkEnumerateInstanceExtensionProperties CeresEngine::vkEnumerateInstanceExtensionProperties
 
PFN_vkEnumerateInstanceLayerProperties CeresEngine::vkEnumerateInstanceLayerProperties
 

Macro Definition Documentation

◆ CE_VK_FUNCTION [1/2]

#define CE_VK_FUNCTION (   N)    extern PFN_vk##N vk##N;

◆ CE_VK_FUNCTION [2/2]

#define CE_VK_FUNCTION (   N)    PFN_vk##N N = nullptr;

◆ VK_DEFINE_NON_DISPATCHABLE_HANDLE

#define VK_DEFINE_NON_DISPATCHABLE_HANDLE (   object)    typedef struct object##_T* object;

◆ VK_NO_PROTOTYPES

#define VK_NO_PROTOTYPES