![]() |
Fling Engine
0.00.1
Fling Engine is a game engine written in Vulkan
|
The instance is a representation of this application graphics instance in Vulkan. More...
#include <Instance.h>
Inherits Fling::NonCopyable.
Public Member Functions | |
| Instance () | |
| ~Instance () | |
| const VkInstance & | GetRawVkInstance () const |
| bool | IsValidationEnabled () const |
| UINT32 | EnabledValidationLayerCount () const |
| const std::vector< const char * > & | GetEnabledValidationLayers () const |
| const std::vector< const char * > & | GetEnabledExtensions () const |
Private Member Functions | |
| void | CreateInstance () |
| Create the VkInstance of this object and application information. More... | |
| std::vector< const char * > | GetRequiredExtensions () |
| bool | CheckValidationLayerSupport () |
Private Member Functions inherited from Fling::NonCopyable | |
| NonCopyable (const NonCopyable &)=delete | |
| NonCopyable (NonCopyable &&)=default | |
| NonCopyable & | operator= (const NonCopyable &)=delete |
| NonCopyable & | operator= (NonCopyable &&)=default |
| NonCopyable ()=default | |
| virtual | ~NonCopyable ()=default |
Private Attributes | |
| VkInstance | m_Instance = VK_NULL_HANDLE |
| The Vulkan instance. More... | |
| UINT8 | m_EnableValidationLayers: 1 |
| If this instance has validation layers enabled. More... | |
| const std::vector< const char * > | m_ValidationLayers |
| The validation layers that we want to look for on this instance. More... | |
| const std::vector< const char * > | m_DeviceExtensions |
| Device extension support for the swap chain. More... | |
The instance is a representation of this application graphics instance in Vulkan.
|
explicit |
| Fling::Instance::~Instance | ( | ) |
|
private |
|
private |
Create the VkInstance of this object and application information.
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
inline |
|
private |
Device extension support for the swap chain.
|
private |
If this instance has validation layers enabled.
This is read from the config file. Default to false if no config
|
private |
The Vulkan instance.
|
private |
The validation layers that we want to look for on this instance.
1.8.13