Blamite Game Engine - blam!  00296.01.12.21.0102.blamite
The core library for the Blamite Game Engine.
vulkan.cpp File Reference
#include "../rendering.h"
#include <glfw3/glfw3.h>
#include <Strings/components/utils/converters/converters.h>
#include "components/settings/config/config.h"
#include "components/diagnostics/logger/logger.h"
#include "components/diagnostics/errors/errors.h"
#include "res/strings.h"

Functions

VkResult create_instance ()
 Initializes the Vulkan instance. More...
 

Variables

std::vector< const char * > vkEnabledLayers
 The list of enabled Vulkan layers. More...
 
VkInstance vkInstance
 The primary Vulkan instance. More...
 
bool enable_validation_layers = true
 

Function Documentation

◆ create_instance()

VkResult create_instance ( )

Initializes the Vulkan instance.

Returns
VK_SUCCESS if the instance was created successfully, otherwise returns an error code. See #VkResult for details.

Variable Documentation

◆ enable_validation_layers

bool enable_validation_layers = true

◆ vkEnabledLayers

std::vector<const char*> vkEnabledLayers

The list of enabled Vulkan layers.

◆ vkInstance

VkInstance vkInstance

The primary Vulkan instance.