vpr::VprExtensionPack struct

The VprExtensionPack structure makes requesting extensions in the device and instance constructors easier and more robust, by allowing the specification of required and optional extensions.

Contents

The inability or failure to enable a required extension will cause an exception to be thrown, while issues with optional extensions will log the extension unable (at a WARNING level) to be enabled or used - then it will be removed from the list of extensions submitted to the constructor.

Public variables

const char*const * RequiredExtensionNames
These extension names specify what must be loaded - failure to do so results in an exception.
const char*const * OptionalExtensionNames
These are "nice to have" extensions that will not compromise required functionality, so failing to load them is a non-issue.