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.
 
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 ()
 
void init_extensions ()
 
void init_layers ()
 

Detailed Description

Aggregate type for information about an instance.

Member Function Documentation

◆ check_version() [1/2]

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:

◆ check_version() [2/2]

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

Verifies that the given version is supported.

◆ init() [1/2]

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() [2/2]

bool nngn::InstanceInfo::init ( )

Initializes instance-independent data.

◆ init_devices() [1/2]

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

Initializes device data.

Here is the caller graph for this function:

◆ init_devices() [2/2]

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

Initializes device data.

◆ init_extensions() [1/2]

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

◆ init_extensions() [2/2]

void nngn::InstanceInfo::init_extensions ( )
private

◆ init_layers() [1/2]

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

◆ init_layers() [2/2]

void nngn::InstanceInfo::init_layers ( )
private

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: