nngn
|
Aggregate type for information about an instance. More...
#include <instance.h>
Public Member Functions | |
bool | init () |
Initializes instance-independent data. | |
void | init_devices (VkInstance i) |
Initializes device data. | |
bool | check_version (Graphics::Version v) const |
Verifies that the given version is supported. | |
Public Attributes | |
std::uint32_t | version = {} |
std::vector< Graphics::Extension > | extensions = {} |
std::vector< Graphics::Layer > | layers = {} |
std::vector< VkPhysicalDevice > | physical_devs = {} |
Private Member Functions | |
void | init_extensions () |
void | init_layers () |
Aggregate type for information about an instance.
bool nngn::InstanceInfo::check_version | ( | Graphics::Version | v | ) | const |
Verifies that the given version is supported.
bool nngn::InstanceInfo::init | ( | ) |
Initializes instance-independent data.
void nngn::InstanceInfo::init_devices | ( | VkInstance | i | ) |
Initializes device data.
|
private |
|
private |
std::vector<Graphics::Extension> nngn::InstanceInfo::extensions = {} |
std::vector<Graphics::Layer> nngn::InstanceInfo::layers = {} |
std::vector<VkPhysicalDevice> nngn::InstanceInfo::physical_devs = {} |
std::uint32_t nngn::InstanceInfo::version = {} |