nngn
Loading...
Searching...
No Matches
nngn::InstanceInfo Struct Reference

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::Extensionextensions = {}
 
std::vector< Graphics::Layerlayers = {}
 
std::vector< VkPhysicalDevice > physical_devs = {}
 

Private Member Functions

void init_extensions ()
 
void init_layers ()
 

Detailed Description

Aggregate type for information about an instance.

Member Function Documentation

◆ check_version()

bool nngn::InstanceInfo::check_version ( Graphics::Version v) const

Verifies that the given version is supported.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ init()

bool nngn::InstanceInfo::init ( )

Initializes instance-independent data.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ init_devices()

void nngn::InstanceInfo::init_devices ( VkInstance i)

Initializes device data.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ init_extensions()

void nngn::InstanceInfo::init_extensions ( )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ init_layers()

void nngn::InstanceInfo::init_layers ( )
private
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ extensions

std::vector<Graphics::Extension> nngn::InstanceInfo::extensions = {}

◆ layers

std::vector<Graphics::Layer> nngn::InstanceInfo::layers = {}

◆ physical_devs

std::vector<VkPhysicalDevice> nngn::InstanceInfo::physical_devs = {}

◆ version

std::uint32_t nngn::InstanceInfo::version = {}

The documentation for this struct was generated from the following files: